Skip to content
Snippets Groups Projects
Commit b162cb2e authored by Mark Haines's avatar Mark Haines
Browse files

Add some TODOs

parent 641efb6a
No related branches found
No related tags found
No related merge requests found
...@@ -56,6 +56,10 @@ class SendToDeviceRestServlet(servlet.RestServlet): ...@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment