fixes to useraddpair when adding via vanity uid

This commit is contained in:
rootdarkarchon
2023-01-30 11:38:32 +01:00
parent ca34fb777e
commit edb04c8d9d

View File

@@ -230,8 +230,8 @@ public partial class MareHub
if (!otherPerm.IsPaused()) if (!otherPerm.IsPaused())
{ {
await Clients.User(UserUID).Client_UserSendOnline(new(dto.User, otherIdent)).ConfigureAwait(false); await Clients.User(UserUID).Client_UserSendOnline(new(otherUser.ToUserData(), otherIdent)).ConfigureAwait(false);
await Clients.User(dto.User.UID).Client_UserSendOnline(new(new(UserUID), UserCharaIdent)).ConfigureAwait(false); await Clients.User(otherUser.UID).Client_UserSendOnline(new(user.ToUserData(), UserCharaIdent)).ConfigureAwait(false);
} }
} }