mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-02-24 23:38:32 +00:00
:husk:
Co-authored-by: rini <nil@dissoc.cc>
This commit is contained in:
parent
fb6cdc0b0a
commit
27660e1212
1 changed files with 2 additions and 1 deletions
|
@ -34,7 +34,8 @@ export default definePlugin({
|
||||||
|
|
||||||
modifyMentions(message: MessageJSON) {
|
modifyMentions(message: MessageJSON) {
|
||||||
const user = UserStore.getCurrentUser();
|
const user = UserStore.getCurrentUser();
|
||||||
|
if (message.author.id === user.id)
|
||||||
|
return;
|
||||||
if (this.getRepliedMessage(message)?.author.id !== user.id)
|
if (this.getRepliedMessage(message)?.author.id !== user.id)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue