some more work on mod hq

This commit is contained in:
Mario Vavti
2017-11-24 15:01:34 +01:00
parent 14f1292743
commit 87eaa6d8e5
7 changed files with 37 additions and 10 deletions

View File

@@ -54,6 +54,10 @@ class ThreadStream {
$this->profile_owner = local_channel();
$this->writable = true;
break;
case 'hq':
$this->profile_owner = local_channel();
$this->writable = true;
break;
case 'channel':
$this->profile_owner = \App::$profile['profile_uid'];
$this->writable = perm_is_allowed($this->profile_owner,$ob_hash,'post_comments');