mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 21:17:23 +01:00
fix one-sided pairs
This commit is contained in:
parent
33afe8da2c
commit
648361f605
1 changed files with 2 additions and 2 deletions
|
|
@ -308,7 +308,7 @@ public partial class MareHub
|
|||
where user.UserUID == uid
|
||||
&& u.UID == user.OtherUserUID
|
||||
&& ownperm.UserUID == user.UserUID && ownperm.OtherUserUID == user.OtherUserUID
|
||||
&& otherperm.OtherUserUID == user.UserUID && otherperm.UserUID == user.OtherUserUID
|
||||
&& (otherperm == null || (otherperm.OtherUserUID == user.UserUID && otherperm.UserUID == user.OtherUserUID))
|
||||
select new
|
||||
{
|
||||
UserUID = user.UserUID,
|
||||
|
|
@ -393,7 +393,7 @@ public partial class MareHub
|
|||
where user.UserUID == uid
|
||||
&& u.UID == user.OtherUserUID
|
||||
&& ownperm.UserUID == user.UserUID && ownperm.OtherUserUID == user.OtherUserUID
|
||||
&& otherperm.OtherUserUID == user.UserUID && otherperm.UserUID == user.OtherUserUID
|
||||
&& (otherperm == null || (otherperm.OtherUserUID == user.UserUID && otherperm.UserUID == user.OtherUserUID))
|
||||
select new
|
||||
{
|
||||
UserUID = user.UserUID,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue