fix(interactionKeybinds): disable ping when replying to own message (#118)
This commit is contained in:
parent
b66903cf52
commit
139dd7a92e
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue