synapse/groups/groups_server.py
def delete_group_summary_user(self, group_id, requester_user_id, user_id, role_id):
        """Remove a user from the group summary
        """
        yield self.check_group_is_ours(
            group_id, requester_user_id, and_exists=True, and_is_admin=requester_user_id,
        )

        yield self.store.remove_user_from_summary(
            group_id=group_id,
            user_id=user_id,
            role_id=role_id,
        )

        defer.returnValue({})
Remove a user from the group summary
        
Remove a user from the group summary
Remove a user from the group summary
def delete_group_summary_user(self, group_id, requester_user_id, user_id, role_id):
        yield self.check_group_is_ours(
            group_id, requester_user_id, and_exists=True, and_is_admin=requester_user_id,
        )
        yield self.store.remove_user_from_summary(
            group_id=group_id,
            user_id=user_id,
            role_id=role_id,
        )
        defer.returnValue({})
def delete_group_summary_user ( self , group_id , requester_user_id , user_id , role_id ) : yield self . check_group_is_ours ( group_id , requester_user_id , and_exists = True , and_is_admin = requester_user_id , ) yield self . store . remove_user_from_summary ( group_id = group_id , user_id = user_id , role_id = role_id , ) defer . returnValue ( { } )
Remove a user from the group summary
Remove a user from the group summary
"""Remove a user from the group summary
        """
self
group_id
requester_user_id
user_id
role_id