mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-13 20:54:16 +01:00
fix get all paired unpaused users
This commit is contained in:
parent
5bed50bdc2
commit
9b9fac9b75
1 changed files with 2 additions and 1 deletions
|
|
@ -77,7 +77,8 @@ public partial class MareHub
|
||||||
uid ??= UserUID;
|
uid ??= UserUID;
|
||||||
|
|
||||||
return (await GetAllPairInfo(UserUID).ConfigureAwait(false))
|
return (await GetAllPairInfo(UserUID).ConfigureAwait(false))
|
||||||
.Where(u => !u.Value.OwnPermissions.IsPaused && u.Value.OtherPermissions != null && !u.Value.OtherPermissions.IsPaused)
|
.Where(u => u.Value.IsSynced && !u.Value.OwnPermissions.IsPaused
|
||||||
|
&& u.Value.OtherPermissions != null && !u.Value.OtherPermissions.IsPaused)
|
||||||
.Select(u => u.Key).ToList();
|
.Select(u => u.Key).ToList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue