Don't ignore actual consumed ws data
This commit is contained in:
parent
66795a7ed9
commit
12905202cd
1
main.py
1
main.py
@ -183,6 +183,7 @@ def ws_onmessage(ws, message):
|
|||||||
statuses = all_statuses[str(ws.current_room)] if str(ws.current_room) in all_statuses else {}
|
statuses = all_statuses[str(ws.current_room)] if str(ws.current_room) in all_statuses else {}
|
||||||
print(usermessage)
|
print(usermessage)
|
||||||
print_userlist(statuses, result["data"]["objects"]["user"])
|
print_userlist(statuses, result["data"]["objects"]["user"])
|
||||||
|
return
|
||||||
|
|
||||||
# Track ignored data
|
# Track ignored data
|
||||||
if result["type"] not in ws.ignored:
|
if result["type"] not in ws.ignored:
|
||||||
|
Loading…
Reference in New Issue
Block a user