Hopefully make threads writable
This commit is contained in:
parent
e5802b7c30
commit
557b1125e2
|
@ -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