1
0
Fork 0

Merge pull request #11611 from annando/writable

Hopefully make threads writable
This commit is contained in:
Hypolite Petovan 2022-06-05 21:31:49 -04:00 committed by GitHub
commit 3f711b5301
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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