synapse/handlers/groups_local.py
def invite(self, group_id, user_id, requester_user_id, config):
        """Invite a user to a group
        """
        content = {
            "requester_user_id": requester_user_id,
            "config": config,
        }
        if self.is_mine_id(group_id):
            res = yield self.groups_server_handler.invite_to_group(
                group_id, user_id, requester_user_id, content,
            )
        else:
            res = yield self.transport_client.invite_to_group(
                get_domain_from_id(group_id), group_id, user_id, requester_user_id,
                content,
            )

        defer.returnValue(res)
Invite a user to a group
        
Invite a user to a group
Invite a user to a group
def invite(self, group_id, user_id, requester_user_id, config):
        content = {
            "requester_user_id": requester_user_id,
            "config": config,
        }
        if self.is_mine_id(group_id):
            res = yield self.groups_server_handler.invite_to_group(
                group_id, user_id, requester_user_id, content,
            )
        else:
            res = yield self.transport_client.invite_to_group(
                get_domain_from_id(group_id), group_id, user_id, requester_user_id,
                content,
            )
        defer.returnValue(res)
def invite ( self , group_id , user_id , requester_user_id , config ) : content = { "requester_user_id" : requester_user_id , "config" : config , } if self . is_mine_id ( group_id ) : res = yield self . groups_server_handler . invite_to_group ( group_id , user_id , requester_user_id , content , ) else : res = yield self . transport_client . invite_to_group ( get_domain_from_id ( group_id ) , group_id , user_id , requester_user_id , content , ) defer . returnValue ( res )
Invite a user to a group
Invite a user to a group
"""Invite a user to a group
        """
self
group_id
user_id
requester_user_id
config