mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-13 14:44:15 +01:00
commit
dbaf45ba70
1 changed files with 2 additions and 2 deletions
|
|
@ -118,7 +118,7 @@ namespace MareSynchronosServer.Hubs
|
||||||
|
|
||||||
await Clients.Users(otherEntries).SendAsync(Api.OnUserRemoveOnlinePairedPlayer, user.CharacterIdentification);
|
await Clients.Users(otherEntries).SendAsync(Api.OnUserRemoveOnlinePairedPlayer, user.CharacterIdentification);
|
||||||
|
|
||||||
_dbContext.RemoveRange(_dbContext.Files.Where(f => !f.Uploaded && f.Uploader.UID == user.UID));
|
_dbContext.RemoveRange(_dbContext.Files.Where(f => !f.Uploaded && f.UploaderUID == user.UID));
|
||||||
|
|
||||||
user.CharacterIdentification = null;
|
user.CharacterIdentification = null;
|
||||||
await _dbContext.SaveChangesAsync();
|
await _dbContext.SaveChangesAsync();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue