mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Add some TODOs
This commit is contained in:
parent
641efb6a39
commit
b162cb2e41
@ -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 New Issue
Block a user