activateMemberInGroup

abstract suspend fun activateMemberInGroup(group: MimiGroup, member: MimiGroupMember): MimiGroup

Activates a MimiGroupMember of a MimiGroup, updates GroupController.mimiGroups and if necessary GroupController.activeGroup

Return

the updated MimiGroup

Parameters

group

the MimiGroup the member will be activated in

member

the MimiGroupMember to be activated

Throws

if group with given id does not exist

if member is not in the group