feat(ui): display user string representation in box title when replying (#79)
This commit is contained in:
parent
1a6ce2e42f
commit
7499e83492
1 changed files with 2 additions and 2 deletions
4
ui.go
4
ui.go
|
|
@ -184,7 +184,7 @@ func onMessagesViewInputCapture(e *tcell.EventKey) *tcell.EventKey {
|
|||
}
|
||||
|
||||
m := findByMessageID(hs[0])
|
||||
messageInputField.SetTitle("Replying to " + m.Author.Username)
|
||||
messageInputField.SetTitle("Replying to " + m.Author.String())
|
||||
app.SetFocus(messageInputField)
|
||||
return nil
|
||||
case conf.Keybindings.MentionReplySelectedMessage:
|
||||
|
|
@ -194,7 +194,7 @@ func onMessagesViewInputCapture(e *tcell.EventKey) *tcell.EventKey {
|
|||
}
|
||||
|
||||
m := findByMessageID(hs[0])
|
||||
messageInputField.SetTitle("[@] Replying to " + m.Author.Username)
|
||||
messageInputField.SetTitle("[@] Replying to " + m.Author.String())
|
||||
app.SetFocus(messageInputField)
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue