internal bool RemoveMember(Member member) { bool ignored; foreach (var channel in Channels) { member.RemoveChannel(channel.Id); channel._areMembersStale = true; } return _members.TryRemove(member.UserId, out ignored); }
internal bool RemoveMember(Member member) { bool ignored; foreach (var channel in Channels) { member.RemoveChannel(channel.Id); channel.InvalidatePermissionsCache(member.UserId); } return _members.TryRemove(member.UserId, out ignored); }