don't track EFCore objects that don't need to be updated
This commit is contained in:
parent
d42e73699b
commit
f7f88ff98f
24 changed files with 50 additions and 33 deletions
|
|
@ -64,7 +64,7 @@ public class MessageDeleteResponder(
|
|||
if (await messageRepository.IsMessageIgnoredAsync(evt.ID.Value, ct))
|
||||
return Result.Success;
|
||||
|
||||
var guild = await db.GetGuildAsync(evt.GuildID, ct);
|
||||
var guild = await db.GetGuildAsync(evt.GuildID, false, ct);
|
||||
if (guild.IsMessageIgnored(evt.ChannelID, evt.ID))
|
||||
return Result.Success;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue