aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/hideAttachments.tsx
AgeCommit message (Collapse)Author
2023-06-15New Plugin: UnsuppressEmbeds (#1262)Dominik
Co-authored-by: V <vendicated@riseup.net>
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
2022-12-02add ViewRaw plugin & MiniPopover API (#275)12944qwerty
Co-authored-by: Vendicated <vendicated@riseup.net>