From a8f1b53e6fd40726ef667e584624c634159e6eaa Mon Sep 17 00:00:00 2001 From: yellowsink Date: Fri, 10 May 2024 15:40:41 +0000 Subject: [PATCH] deploy: f46b60b1b4b204f62bb24a8d3a084646ad163b76 --- quickreply/plugin.js | 4 ++-- quickreply/plugin.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/quickreply/plugin.js b/quickreply/plugin.js index c9ccf7f..4283db3 100644 --- a/quickreply/plugin.js +++ b/quickreply/plugin.js @@ -83,7 +83,7 @@ plugin: { store: store2 }, flux: { dispatcher, - stores: { ChannelStore, SelectedChannelStore, MessageStore } + stores: { UserStore, ChannelStore, SelectedChannelStore, MessageStore } } } = shelter; var { getChannel } = ChannelStore; @@ -116,7 +116,7 @@ type: "CREATE_PENDING_REPLY", channel, message, - shouldMention: shouldMention && !store2.noPing, + shouldMention: shouldMention && !store2.noPing && message.author.id !== UserStore.getCurrentUser().id, showMentionToggle }); setTimeout(scrollToReplyingMsg, 100); diff --git a/quickreply/plugin.json b/quickreply/plugin.json index e53ce45..9054a3b 100644 --- a/quickreply/plugin.json +++ b/quickreply/plugin.json @@ -1 +1 @@ -{"name":"QuickReply Reloaded","description":"Quickly and easily reply to messages with ctrl+up/down","author":"Yellowsink","hash":"8f17982a904954aba022c87bd7ac0948"} \ No newline at end of file +{"name":"QuickReply Reloaded","description":"Quickly and easily reply to messages with ctrl+up/down","author":"Yellowsink","hash":"83a4d2ee7aa791763b32b9b8293ad0bb"} \ No newline at end of file