Merge pull request #11611 from annando/writable
Hopefully make threads writable
This commit is contained in:
commit
3f711b5301
|
@ -556,7 +556,7 @@ class Conversation
|
||||||
if (in_array($mode, ['community', 'contacts', 'profile'])) {
|
if (in_array($mode, ['community', 'contacts', 'profile'])) {
|
||||||
$writable = true;
|
$writable = true;
|
||||||
} else {
|
} 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()) {
|
if (!local_user()) {
|
||||||
|
|
Loading…
Reference in a new issue