fix 500 error when user connects then disconnects immediately
parent
0509c1648a
commit
594f32e703
|
@ -243,6 +243,7 @@ def disconnect(v):
|
|||
online["messages"].remove(v.id)
|
||||
return ''
|
||||
|
||||
if online.get(room):
|
||||
online[room].pop(v.id, None)
|
||||
|
||||
if v.username in typing[room]:
|
||||
|
|
Loading…
Reference in New Issue