]> git.mxchange.org Git - friendica.git/commitdiff
Hopefully make threads writable
authorMichael <heluecht@pirati.ca>
Sun, 5 Jun 2022 20:38:05 +0000 (20:38 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 5 Jun 2022 20:38:05 +0000 (20:38 +0000)
src/Content/Conversation.php

index e30b809ae216993950272b83786fa44df114d6f0..5cc2638495e5d88d59a0e9dc2368c741551fb8d4 100644 (file)
@@ -556,7 +556,7 @@ class Conversation
                        if (in_array($mode, ['community', 'contacts', 'profile'])) {
                                $writable = true;
                        } else {
-                               $writable = ($items[0]['uid'] == 0) && in_array($items[0]['network'], Protocol::FEDERATED);
+                               $writable = $items[0]['writable'] || ($items[0]['uid'] == 0) && in_array($items[0]['network'], Protocol::FEDERATED);
                        }
 
                        if (!local_user()) {