summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha/sendtodevice.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-09-02 14:54:07 +0100
committerErik Johnston <erik@matrix.org>2016-09-02 14:54:07 +0100
commit3baf641a487f5adffd20a55cb93f36d4620c626c (patch)
tree737609506c74db37a83a3d18267a4defe707793d /synapse/rest/client/v2_alpha/sendtodevice.py
parentMerge branch 'develop' of github.com:matrix-org/synapse into erikj/state_storage (diff)
parentExplicitly specify state_key for history_visibility fetching (diff)
downloadsynapse-3baf641a487f5adffd20a55cb93f36d4620c626c.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into erikj/state_storage
Diffstat (limited to 'synapse/rest/client/v2_alpha/sendtodevice.py')
-rw-r--r--synapse/rest/client/v2_alpha/sendtodevice.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/sendtodevice.py b/synapse/rest/client/v2_alpha/sendtodevice.py
index 7c0991ca55..9c10a99acf 100644
--- a/synapse/rest/client/v2_alpha/sendtodevice.py
+++ b/synapse/rest/client/v2_alpha/sendtodevice.py
@@ -78,7 +78,7 @@ class SendToDeviceRestServlet(servlet.RestServlet):
         stream_id = yield self.store.add_messages_to_device_inbox(local_messages)
 
         self.notifier.on_new_event(
-            "to_device", stream_id, users=local_messages.keys()
+            "to_device_key", stream_id, users=local_messages.keys()
         )
 
         response = (200, {})