handling-message-filtering
Some checks failed
deploy / deploy (push) Has been cancelled

This commit is contained in:
Untone 2023-11-26 22:27:38 +03:00
parent 996fe2eca6
commit 551bed52f1

View File

@ -24,4 +24,7 @@ async def reactions_worker():
msg_data = message.get("data")
if msg_data:
msg = json.loads(msg_data)
await handle_reaction(msg)
if msg.entity == "reaction":
await handle_reaction(msg)
else:
print(f"[resolvers.listener] unhandled msg: {msg}")