summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-08-25 18:18:53 +0100
committerMark Haines <mark.haines@matrix.org>2016-08-25 18:18:53 +0100
commitb162cb2e41d2b55803d4371e1c978a74acc16b64 (patch)
treefa5fd25b1002df59e35d5d4096be6cd9a20370db
parentFix the deduplication of incoming direct-to-device messages (diff)
downloadsynapse-b162cb2e41d2b55803d4371e1c978a74acc16b64.tar.xz
Add some TODOs
-rw-r--r--synapse/rest/client/v2_alpha/sendtodevice.py4
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):