go: Notify client when user leave voice channel

master
Luther Wen Xu 2019-10-15 23:38:35 +07:00
parent 4a377f80fc
commit 093f57b6ee
Signed by: chanbakjsd
GPG Key ID: B7D77E3E9D102B70
1 changed files with 1 additions and 0 deletions

@ -48,6 +48,7 @@ func ConnectUser(mcUsername string) {
func DisconnectUser(mcUsername string) { func DisconnectUser(mcUsername string) {
delete(connectedUsers, mcUsername) delete(connectedUsers, mcUsername)
broadcast("leave " + mcUsername)
} }
func RequestSync() { func RequestSync() {