updateMembership

Sets Channel.membership to member if member.user.id equals to Channel.membership.user.id.

Parameters

member

Updated member.