don't show shared data from paused people
This commit is contained in:
@@ -63,6 +63,17 @@ public sealed class PairManager : DisposableMediatorSubscriberBase
|
||||
RecreateLazy();
|
||||
}
|
||||
|
||||
public Pair? GetPairByUID(string uid)
|
||||
{
|
||||
var existingPair = _allClientPairs.FirstOrDefault(f => f.Key.UID == uid);
|
||||
if (!Equals(existingPair, default(KeyValuePair<UserData, Pair>)))
|
||||
{
|
||||
return existingPair.Value;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public void AddUserPair(UserFullPairDto dto)
|
||||
{
|
||||
if (!_allClientPairs.ContainsKey(dto.User))
|
||||
|
||||
Reference in New Issue
Block a user