mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-26 19:47:05 +03:00
Delint
This commit is contained in:
parent
c43e8a9736
commit
85f5674e44
3 changed files with 3 additions and 1 deletions
|
@ -720,6 +720,7 @@ class FederationGroupsUsersServlet(BaseFederationServlet):
|
||||||
|
|
||||||
defer.returnValue((200, new_content))
|
defer.returnValue((200, new_content))
|
||||||
|
|
||||||
|
|
||||||
class FederationGroupsInvitedUsersServlet(BaseFederationServlet):
|
class FederationGroupsInvitedUsersServlet(BaseFederationServlet):
|
||||||
"""Get the users that have been invited to a group
|
"""Get the users that have been invited to a group
|
||||||
"""
|
"""
|
||||||
|
@ -737,6 +738,7 @@ class FederationGroupsInvitedUsersServlet(BaseFederationServlet):
|
||||||
|
|
||||||
defer.returnValue((200, new_content))
|
defer.returnValue((200, new_content))
|
||||||
|
|
||||||
|
|
||||||
class FederationGroupsInviteServlet(BaseFederationServlet):
|
class FederationGroupsInviteServlet(BaseFederationServlet):
|
||||||
"""Ask a group server to invite someone to the group
|
"""Ask a group server to invite someone to the group
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -454,7 +454,6 @@ class GroupsServerHandler(object):
|
||||||
"total_user_count_estimate": len(invited_users),
|
"total_user_count_estimate": len(invited_users),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def get_rooms_in_group(self, group_id, requester_user_id):
|
def get_rooms_in_group(self, group_id, requester_user_id):
|
||||||
"""Get the rooms in group as seen by requester_user_id
|
"""Get the rooms in group as seen by requester_user_id
|
||||||
|
|
|
@ -370,6 +370,7 @@ class GroupUsersServlet(RestServlet):
|
||||||
|
|
||||||
defer.returnValue((200, result))
|
defer.returnValue((200, result))
|
||||||
|
|
||||||
|
|
||||||
class GroupInvitedUsersServlet(RestServlet):
|
class GroupInvitedUsersServlet(RestServlet):
|
||||||
"""Get users invited to a group
|
"""Get users invited to a group
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue