Best "uid" for sending comments, refresh after commenting might work now

This commit is contained in:
Michael 2018-01-07 17:14:43 +00:00
parent 708d034c6d
commit e12b6e01a2
6 changed files with 16 additions and 8 deletions

View file

@ -67,7 +67,7 @@ class Thread extends BaseObject
$this->writable = can_write_wall($this->profile_owner) || $writable;
break;
case 'community':
$this->profile_owner = local_user();
$this->profile_owner = 0;
$this->writable = $writable;
break;
default: