forked from External/grumble
Fix fixme in userEnterChannel().
This commit is contained in:
parent
b1d6717a04
commit
0fde3b9ae9
2 changed files with 23 additions and 1 deletions
|
|
@ -994,7 +994,9 @@ func (server *Server) userEnterChannel(client *Client, channel *Channel, usersta
|
|||
channel.AddClient(client)
|
||||
|
||||
server.ClearCaches()
|
||||
// fixme(mkrautz): Set LastChannel for user in datastore
|
||||
|
||||
server.UpdateFrozenUserLastChannel(client)
|
||||
|
||||
// fixme(mkrautz): Remove channel if temporary
|
||||
|
||||
canspeak := server.HasPermission(client, channel, SpeakPermission)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue