Include bans in adminremarks command (#26240)
Fixes #20645 (cherry picked from commit f55c98ce6d1dfdc14a293f2559647372203938af)
This commit is contained in:
parent
daf3ee7d13
commit
34784fc081
|
|
@ -1368,6 +1368,8 @@ INSERT INTO player_round (players_id, rounds_id) VALUES ({players[player]}, {id}
|
|||
.Include(note => note.Player)
|
||||
.ToListAsync()).Select(MakeAdminNoteRecord));
|
||||
notesCol.AddRange(await GetMessagesImpl(db, player));
|
||||
notesCol.AddRange(await GetServerBansAsNotesForUser(db, player));
|
||||
notesCol.AddRange(await GetGroupedServerRoleBansAsNotesForUser(db, player));
|
||||
return notesCol;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue