Hopefully make threads writable

This commit is contained in:
Michael 2022-06-05 20:38:05 +00:00
parent e5802b7c30
commit 557b1125e2

View 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()) {