internal void AddMember(Member member) { _members.TryAdd(member.UserId, true); foreach (var channel in Channels) { member.AddChannel(channel.Id); channel._areMembersStale = true; } }
internal void AddMember(Member member) { _members.TryAdd(member.UserId, true); foreach (var channel in Channels) { member.AddChannel(channel.Id); channel.InvalidatePermissionsCache(member.UserId); } }