Co-authored-by: rini <nil@dissoc.cc>
This commit is contained in:
ant0n 2023-11-12 22:25:09 +00:00 committed by GitHub
parent fb6cdc0b0a
commit 27660e1212
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,8 @@ export default definePlugin({
modifyMentions(message: MessageJSON) {
const user = UserStore.getCurrentUser();
if (message.author.id === user.id)
return;
if (this.getRepliedMessage(message)?.author.id !== user.id)
return;