Change some permissions to channel admins (#67)
This commit is contained in:
parent
184fbcd971
commit
9350ef6d75
7 changed files with 45 additions and 16 deletions
|
|
@ -181,6 +181,7 @@ function initCallbacks() {
|
|||
socket.on("updateUser", function(data) {
|
||||
if(data.name == uname) {
|
||||
LEADER = data.leader;
|
||||
RANK = data.rank;
|
||||
handleRankChange();
|
||||
if(LEADER) {
|
||||
// I'm a leader! Set up sync function
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue