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