deactivateMemberInGroup

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

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

Return

the updated MimiGroup

Parameters

group

the MimiGroup the member be deactivated in

member

the MimiGroupMember to be deactivated

Throws

if group does not exist

if member is not in the group