Permalink
Browse files

Merge pull request #53 from kluther/Joe_Development

Including Trusted members in chat
  • Loading branch information...
2 parents e5d7bb5 + 12d3652 commit cc0adfe8931a7afaf58efc6886e4326365e1adc4 @jgonzales8 jgonzales8 committed May 6, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 views/site/partial/page.tpl.php
@@ -36,7 +36,7 @@
//Chat is only supported at the chat room level for now
if (!empty($projectId)){
//Check whether chat is enabled in config.php and user is part of the project or an admin user
- If ((ENABLE_CHAT==1) && ($project->isMember(Session::getUserID()) || Session::isAdmin() || $project->isCreator(Session::getUserID()))) {
+ If ((ENABLE_CHAT==1) && ($project->isMember(Session::getUserID()) || $project->isTrusted(Session::getUserID()) || Session::isAdmin() || $project->isCreator(Session::getUserID()))) {
$showChatBox = true;
}
}

0 comments on commit cc0adfe

Please sign in to comment.