fixes for character push
This commit is contained in:
@@ -160,7 +160,7 @@ namespace MareSynchronosServer.Hubs
|
|||||||
|
|
||||||
var otherEntries = await query.ToListAsync().ConfigureAwait(false);
|
var otherEntries = await query.ToListAsync().ConfigureAwait(false);
|
||||||
otherEntries =
|
otherEntries =
|
||||||
otherEntries.Where(c => !string.IsNullOrEmpty(_clientIdentService.GetCharacterIdentForUid(c))).ToList();
|
otherEntries.Where(c => visibleCharacterIds.Select(c => c.ToLowerInvariant()).Contains(_clientIdentService.GetCharacterIdentForUid(c).ToLowerInvariant())).ToList();
|
||||||
var ownIdent = _clientIdentService.GetCharacterIdentForUid(AuthenticatedUserId);
|
var ownIdent = _clientIdentService.GetCharacterIdentForUid(AuthenticatedUserId);
|
||||||
|
|
||||||
await Clients.Users(otherEntries).SendAsync(Api.OnUserReceiveCharacterData, characterCache, ownIdent).ConfigureAwait(false);
|
await Clients.Users(otherEntries).SendAsync(Api.OnUserReceiveCharacterData, characterCache, ownIdent).ConfigureAwait(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user