synapse/groups/groups_server.py
def update_group_summary_user(self, group_id, requester_user_id, user_id, role_id,
                                  content):
        """Add/update a users entry in the group summary
        """
        yield self.check_group_is_ours(
            group_id, requester_user_id, and_exists=True, and_is_admin=requester_user_id,
        )

        order = content.get("order", None)

        is_public = _parse_visibility_from_contents(content)

        yield self.store.add_user_to_summary(
            group_id=group_id,
            user_id=user_id,
            role_id=role_id,
            order=order,
            is_public=is_public,
        )

        defer.returnValue({})
Add/update a users entry in the group summary
        
Add/update a users entry in the group summary
Add / update a users entry in the group summary
def update_group_summary_user(self, group_id, requester_user_id, user_id, role_id,
                                  content):
        yield self.check_group_is_ours(
            group_id, requester_user_id, and_exists=True, and_is_admin=requester_user_id,
        )
        order = content.get("order", None)
        is_public = _parse_visibility_from_contents(content)
        yield self.store.add_user_to_summary(
            group_id=group_id,
            user_id=user_id,
            role_id=role_id,
            order=order,
            is_public=is_public,
        )
        defer.returnValue({})
def update_group_summary_user ( self , group_id , requester_user_id , user_id , role_id , content ) : yield self . check_group_is_ours ( group_id , requester_user_id , and_exists = True , and_is_admin = requester_user_id , ) order = content . get ( "order" , None ) is_public = _parse_visibility_from_contents ( content ) yield self . store . add_user_to_summary ( group_id = group_id , user_id = user_id , role_id = role_id , order = order , is_public = is_public , ) defer . returnValue ( { } )
Add/update a users entry in the group summary
Add / update a users entry in the group summary
"""Add/update a users entry in the group summary
        """
self
group_id
requester_user_id
user_id
role_id
content