Просмотр исходного кода

fix: remove occurence of ReplySelectedMessage twice (#102)

Canis Li 4 лет назад
Родитель
Сommit
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