mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:50:10 +00:00
Reshares are now working
This commit is contained in:
parent
cdce9b48ab
commit
f7272be4a8
3 changed files with 20 additions and 22 deletions
|
@ -612,7 +612,7 @@ function conversation(App $a, $items, $mode, $update, $preview = false) {
|
|||
|
||||
if ($items && count($items)) {
|
||||
// Currently behind a config value. This allows the commenting and sharing of every public item.
|
||||
if (Config::get('system', 'comment_public')) {
|
||||
if (Config::get('system', 'comment_public') && local_user()) {
|
||||
$writable = ($items[0]['uid'] == 0) && in_array($items[0]['network'], array(NETWORK_OSTATUS, NETWORK_DIASPORA));
|
||||
} else {
|
||||
$writable = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue