mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 17:00:08 +00:00
fix(controllers): check if the cached content is same as the updated content (#426)
This commit is contained in:
@@ -97,7 +97,7 @@ export async function handleInternalMessageUpdate(data: DiscordPayload) {
|
||||
// Messages with embeds can trigger update but they wont have edited_timestamp
|
||||
if (
|
||||
!payload.edited_timestamp ||
|
||||
(cachedMessage.content !== payload.content)
|
||||
(cachedMessage.content === payload.content)
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user