ModularVencord/src
V 6300198a54
MessageLinkEmbeds: Fix niche unclaimed account bug
This plugin fires MESSAGE_UPDATE events for messages containing message
links (to rerender them). If the updated message is an interaction, it
contains message.interaction.user. If the one who ran the command is
you, message.interaction.user will be you and the email in this data is
always set to null. Discord seems to update the local user data with
this user. So essentially, in the above described edge case it would
update the current user to have no email (only locally, in memory. There
is 0 risk for your account, it was just a temporary visual bug) which
would cause the unclaimed account banner to appear.

This commit fixes this by simply omitting the interaction field from the
MESSAGE_UPDATE event
2023-05-28 22:02:47 +02:00
..
api feat(plugin): FavoriteEmojiFirst (#1110) 2023-05-17 04:38:15 +02:00
components PluginModal: Anonymise authors (#1176) 2023-05-23 01:55:39 +02:00
debug [skip ci] Refactor utils 2023-05-06 01:36:00 +02:00
main [skip ci] Refactor utils 2023-05-06 01:36:00 +02:00
plugins MessageLinkEmbeds: Fix niche unclaimed account bug 2023-05-28 22:02:47 +02:00
utils DiscordUtils: Add sendMessage 2023-05-23 03:47:09 +02:00
webpack New plugin : Party mode 🎉 (#1161) 2023-05-23 03:32:27 +02:00
globals.d.ts Improvements for VencordDesktop (#847) 2023-04-09 04:04:02 +02:00
modules.d.ts Notification API (#467) 2023-02-10 22:33:34 +01:00
preload.ts Refactor ipc to be strongly typed and hide impl details (#1018) 2023-05-02 02:50:51 +02:00
Vencord.ts Settings: Fix resetting scroll/search when getting a ping (#1106) 2023-05-12 01:40:43 +02:00
VencordNative.ts Refactor ipc to be strongly typed and hide impl details (#1018) 2023-05-02 02:50:51 +02:00