mirror of
https://github.com/chatmail/core.git
synced 2026-05-05 06:16:30 +03:00
jsonrpc: use camel-case for Event struct and move events.rs to types folder (#4372)
* use camel-case for Event struct and move events.rs to types folder --------- Co-authored-by: link2xt <link2xt@testrun.org>
This commit is contained in:
committed by
GitHub
parent
3efbe5b1ef
commit
5c3df7e452
@@ -79,7 +79,7 @@ class Rpc:
|
||||
if self.closing:
|
||||
return
|
||||
event = await self.get_next_event()
|
||||
account_id = event["context_id"]
|
||||
account_id = event["contextId"]
|
||||
queue = await self.get_queue(account_id)
|
||||
await queue.put(event["event"])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user