aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/messageLinkEmbeds.tsx
AgeCommit message (Collapse)Author
2023-05-28MessageLinkEmbeds: Fix niche unclaimed account bugV
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-06[skip ci] Refactor utilsVendicated
2023-04-29[skip ci] Update Monaco; Fix code scanning errorsVendicated
2023-03-26MessageLinkEmbeds: Fix weird commas in titleVendicated
2023-03-02Rewrite MessageLinkEmbeds part 2Vendicated
2023-03-02Rewrite MessageLinkEmbeds to improve Code QualityVendicated
2023-03-02Fix messageLinkEmbedsVendicated
2023-02-12MessageLinkEmbeds: Prevent infinite cycles (#488)Ven
2023-01-07Fix Badges & MessageLinkEmbeds (#383)ActuallyTheSun
2023-01-07Fix canaryVendicated
2022-12-14feat(plugin): add MessageLinkEmbeds (#264)ActuallyTheSun
Co-authored-by: Ven <vendicated@riseup.net>