mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-07 16:06:08 +00:00
Fix Share parser: share type is not determined by existance of <url> element in share
This commit is contained in:
parent
20c9830922
commit
70e38cda59
@ -353,7 +353,6 @@ public class ShareXMLParser {
|
||||
share.setSharedWithDisplayName(readNode(parser, NODE_SHARE_WITH_DISPLAY_NAME));
|
||||
|
||||
} else if (name.equalsIgnoreCase(NODE_URL)) {
|
||||
share.setShareType(ShareType.PUBLIC_LINK);
|
||||
String value = readNode(parser, NODE_URL);
|
||||
share.setShareLink(value);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user