it's quite silly actuallu
This commit is contained in:
parent
6a5d6a44fb
commit
023b321f5c
@ -1536,7 +1536,9 @@ class EventNamespace(AsyncNamespace):
|
|||||||
"""
|
"""
|
||||||
fields = json.loads(data)
|
fields = json.loads(data)
|
||||||
# Get the event.
|
# Get the event.
|
||||||
event = Event(**{k: v for k, v in fields.items() if k != "handler"})
|
event = Event(
|
||||||
|
**{k: v for k, v in fields.items() if k not in ("handler", "event_actions")}
|
||||||
|
)
|
||||||
|
|
||||||
self.token_to_sid[event.token] = sid
|
self.token_to_sid[event.token] = sid
|
||||||
self.sid_to_token[sid] = event.token
|
self.sid_to_token[sid] = event.token
|
||||||
|
Loading…
Reference in New Issue
Block a user