fix error when joining and leaving chat instantly before heartbeat happens
parent
3e37abc7ab
commit
7ed89dd111
|
@ -250,7 +250,9 @@ def disconnect(v):
|
|||
typing[room].remove(v.username)
|
||||
|
||||
leave_room(room)
|
||||
refresh_online(room)
|
||||
|
||||
if online.get(room):
|
||||
refresh_online(room)
|
||||
|
||||
commit_and_close()
|
||||
|
||||
|
|
Loading…
Reference in New Issue