mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-05-05 03:54:56 -04:00
Rename 'user_name' to 'user_id' in push to make it consistent with the rest of the code
This commit is contained in:
parent
37716d55ed
commit
9c1f853d58
9 changed files with 99 additions and 99 deletions
|
@ -41,7 +41,7 @@ class PusherRestServlet(ClientV1RestServlet):
|
|||
and 'kind' in content and
|
||||
content['kind'] is None):
|
||||
yield pusher_pool.remove_pusher(
|
||||
content['app_id'], content['pushkey'], user_name=user.to_string()
|
||||
content['app_id'], content['pushkey'], user_id=user.to_string()
|
||||
)
|
||||
defer.returnValue((200, {}))
|
||||
|
||||
|
@ -71,7 +71,7 @@ class PusherRestServlet(ClientV1RestServlet):
|
|||
|
||||
try:
|
||||
yield pusher_pool.add_pusher(
|
||||
user_name=user.to_string(),
|
||||
user_id=user.to_string(),
|
||||
access_token=requester.access_token_id,
|
||||
profile_tag=content['profile_tag'],
|
||||
kind=content['kind'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue