You can now comment on the community page

This commit is contained in:
Michael 2017-12-23 07:33:51 +00:00
parent a8529779c7
commit 5afedb28d4
3 changed files with 38 additions and 7 deletions

View file

@ -66,6 +66,10 @@ class Thread extends BaseObject
$this->profile_owner = $a->profile['uid'];
$this->writable = can_write_wall($a, $this->profile_owner) || $writable;
break;
case 'community':
$this->profile_owner = local_user();
$this->writable = $writable;
break;
default:
logger('[ERROR] Conversation::setMode : Unhandled mode ('. $mode .').', LOGGER_DEBUG);
return false;