mirror of
https://github.com/friendica/friendica
synced 2024-12-22 23:20:16 +00:00
Merge pull request #11611 from annando/writable
Hopefully make threads writable
This commit is contained in:
commit
3f711b5301
1 changed files with 1 additions and 1 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue