瀏覽代碼

fix: remove occurence of ReplySelectedMessage twice (#102)

Canis Li 4 年之前
父節點
當前提交
c82acc2121
共有 1 個文件被更改,包括 1 次插入1 次删除
  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