projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5802b7
)
Hopefully make threads writable
author
Michael
<heluecht@pirati.ca>
Sun, 5 Jun 2022 20:38:05 +0000
(20:38 +0000)
committer
Michael
<heluecht@pirati.ca>
Sun, 5 Jun 2022 20:38:05 +0000
(20:38 +0000)
src/Content/Conversation.php
patch
|
blob
|
history
diff --git
a/src/Content/Conversation.php
b/src/Content/Conversation.php
index e30b809ae216993950272b83786fa44df114d6f0..5cc2638495e5d88d59a0e9dc2368c741551fb8d4 100644
(file)
--- a/
src/Content/Conversation.php
+++ b/
src/Content/Conversation.php
@@
-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()) {