mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 08:13:48 +01:00
Add some TODOs
This commit is contained in:
parent
641efb6a39
commit
b162cb2e41
1 changed files with 4 additions and 0 deletions
|
@ -56,6 +56,10 @@ class SendToDeviceRestServlet(servlet.RestServlet):
|
||||||
|
|
||||||
content = parse_json_object_from_request(request)
|
content = parse_json_object_from_request(request)
|
||||||
|
|
||||||
|
# TODO: Prod the notifier to wake up sync streams.
|
||||||
|
# TODO: Implement replication for the messages.
|
||||||
|
# TODO: Send the messages to remote servers if needed.
|
||||||
|
|
||||||
local_messages = {}
|
local_messages = {}
|
||||||
for user_id, by_device in content["messages"].items():
|
for user_id, by_device in content["messages"].items():
|
||||||
if self.is_mine_id(user_id):
|
if self.is_mine_id(user_id):
|
||||||
|
|
Loading…
Reference in a new issue