diff options
author | David Baker <dave@matrix.org> | 2015-02-03 16:51:07 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2015-02-03 16:51:07 +0000 |
commit | dc7bb70f22edf8ef0631c961f2c77a82de7c76d5 (patch) | |
tree | 74e89709d5a5cd9abe2c0fe91b8312b1c48a99ab /synapse/rest/client/v1/pusher.py | |
parent | Use set_tweak instead of set_sound (diff) | |
download | synapse-dc7bb70f22edf8ef0631c961f2c77a82de7c76d5.tar.xz |
s/instance_handle/profile_tag/
Diffstat (limited to 'synapse/rest/client/v1/pusher.py')
-rw-r--r-- | synapse/rest/client/v1/pusher.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/rest/client/v1/pusher.py b/synapse/rest/client/v1/pusher.py index 353a4a6589..e10d2576d2 100644 --- a/synapse/rest/client/v1/pusher.py +++ b/synapse/rest/client/v1/pusher.py @@ -41,7 +41,7 @@ class PusherRestServlet(ClientV1RestServlet): ) defer.returnValue((200, {})) - reqd = ['instance_handle', 'kind', 'app_id', 'app_display_name', + reqd = ['profile_tag', 'kind', 'app_id', 'app_display_name', 'device_display_name', 'pushkey', 'lang', 'data'] missing = [] for i in reqd: @@ -54,7 +54,7 @@ class PusherRestServlet(ClientV1RestServlet): try: yield pusher_pool.add_pusher( user_name=user.to_string(), - instance_handle=content['instance_handle'], + profile_tag=content['profile_tag'], kind=content['kind'], app_id=content['app_id'], app_display_name=content['app_display_name'], |