marinofaggiana 3 years ago
parent
commit
8638b727a4
1 changed files with 2 additions and 1 deletions
  1. 2 1
      iOSClient/Viewer/NCViewer.swift

+ 2 - 1
iOSClient/Viewer/NCViewer.swift

@@ -83,9 +83,10 @@ class NCViewer: NSObject {
             
             // EDITORS
             let editors = NCUtility.shared.isDirectEditing(account: metadata.account, contentType: metadata.contentType)
+            let availableRichDocument = NCUtility.shared.isRichDocument(metadata)
             
             // RichDocument: Collabora
-            if isRichDocument && NCCommunication.shared.isNetworkReachable() {
+            if (isRichDocument || (availableRichDocument && editors.count == 0)) && NCCommunication.shared.isNetworkReachable() {
                                 
                 if metadata.url == "" {