diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-08-25 18:18:53 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-08-25 18:18:53 +0100 |
commit | b162cb2e41d2b55803d4371e1c978a74acc16b64 (patch) | |
tree | fa5fd25b1002df59e35d5d4096be6cd9a20370db /synapse | |
parent | Fix the deduplication of incoming direct-to-device messages (diff) | |
download | synapse-b162cb2e41d2b55803d4371e1c978a74acc16b64.tar.xz |
Add some TODOs
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/rest/client/v2_alpha/sendtodevice.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/rest/client/v2_alpha/sendtodevice.py b/synapse/rest/client/v2_alpha/sendtodevice.py index 42754e8774..00533741af 100644 --- a/synapse/rest/client/v2_alpha/sendtodevice.py +++ b/synapse/rest/client/v2_alpha/sendtodevice.py @@ -56,6 +56,10 @@ class SendToDeviceRestServlet(servlet.RestServlet): 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 = {} for user_id, by_device in content["messages"].items(): if self.is_mine_id(user_id): |