mirror of
https://github.com/friendica/friendica
synced 2025-04-22 20:30:11 +00:00
You can now comment on the community page
This commit is contained in:
parent
a8529779c7
commit
5afedb28d4
3 changed files with 38 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue