addMembership
Sets Channel.membership to member if currentUserId equals to member.getUserId().
Parameters
currentUserId
User id of the currently logged in user.
member
Added member.
Sets Channel.membership to member if currentUserId equals to member.getUserId().
User id of the currently logged in user.
Added member.