Skip to content

Commit

Permalink
Merge pull request #53 from kluther/Joe_Development
Browse files Browse the repository at this point in the history
Including Trusted members in chat
  • Loading branch information
jgonzales8 committed May 6, 2013
2 parents e5d7bb5 + 12d3652 commit cc0adfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/site/partial/page.tpl.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
//Chat is only supported at the chat room level for now //Chat is only supported at the chat room level for now
if (!empty($projectId)){ if (!empty($projectId)){
//Check whether chat is enabled in config.php and user is part of the project or an admin user //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; $showChatBox = true;
} }
} }
Expand Down

0 comments on commit cc0adfe

Please sign in to comment.