mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-10-31 02:17:41 +00:00 
			
		
		
		
	Fixed lost of share link when token exists
This commit is contained in:
		
							parent
							
								
									1e3060633d
								
							
						
					
					
						commit
						9cf96a10ce
					
				| @ -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) { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user