mirror of
https://github.com/owncloud/android-library.git
synced 2026-08-22 13:52:55 +00:00
Fixed lost of share link when token exists
This commit is contained in:
+2
-1
@@ -90,7 +90,8 @@ public class ShareToRemoteOperationResultParser {
|
|||||||
resultData.add(share);
|
resultData.add(share);
|
||||||
// build the share link if not in the response (only received when the share is created)
|
// build the share link if not in the response (only received when the share is created)
|
||||||
if (share.getShareType() == ShareType.PUBLIC_LINK &&
|
if (share.getShareType() == ShareType.PUBLIC_LINK &&
|
||||||
share.getShareLink() == null &&
|
(share.getShareLink() == null ||
|
||||||
|
share.getShareLink().length() <= 0) &&
|
||||||
share.getToken().length() > 0
|
share.getToken().length() > 0
|
||||||
) {
|
) {
|
||||||
if (mServerBaseUri != null) {
|
if (mServerBaseUri != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user