aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/interactionKeybinds.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/interactionKeybinds.ts')
-rw-r--r--src/plugins/interactionKeybinds.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/interactionKeybinds.ts b/src/plugins/interactionKeybinds.ts
index 3f6c7b4..f313b2c 100644
--- a/src/plugins/interactionKeybinds.ts
+++ b/src/plugins/interactionKeybinds.ts
@@ -103,12 +103,13 @@ function nextReply(isUp: boolean) {
});
const channel = ChannelStore.getChannel(message.channel_id);
+ const meId = UserStore.getCurrentUser().id;
Dispatcher.dispatch({
type: "CREATE_PENDING_REPLY",
channel,
message,
shouldMention: true,
- showMentionToggle: channel.guild_id !== null,
+ showMentionToggle: channel.guild_id !== null && message.author.id !== meId,
_isQuickReply: true
});
}