mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 12:09:45 +01:00
Merge pull request #2006 from nextcloud/bugfix/1977/fixNPEinBrowserFile
Bugfix/1977/fix NPE in BrowserFile
This commit is contained in:
commit
a5db665571
@ -109,7 +109,7 @@ public class BrowserFile {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(browserFile.getPermissions().contains("R")){
|
if (browserFile.getPermissions() != null && browserFile.getPermissions().contains("R")) {
|
||||||
browserFile.isAllowedToReShare = true;
|
browserFile.isAllowedToReShare = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user