Browse Source

fix: remove occurence of ReplySelectedMessage twice (#102)

Canis Li 4 years ago
parent
commit
c82acc2121
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ui.go

+ 1 - 1
ui.go

@@ -203,7 +203,7 @@ func onMessagesViewInputCapture(e *tcell.EventKey) *tcell.EventKey {
 		messageInputField.SetTitle("Replying to " + m.Author.String())
 		app.SetFocus(messageInputField)
 		return nil
-	} else if util.HasKeybinding(conf.Keybindings.ReplySelectedMessage, e.Name()) {
+	} else if util.HasKeybinding(conf.Keybindings.MentionReplySelectedMessage, e.Name()) {
 		hs := messagesView.GetHighlights()
 		if len(hs) == 0 {
 			return nil