Add some TODOs

pull/1045/head
Mark Haines 2016-08-25 18:18:53 +01:00
parent 641efb6a39
commit b162cb2e41
1 changed files with 4 additions and 0 deletions

View File

@ -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):