style: shorten long lines (>80)

This commit is contained in:
rigormorrtiss 2021-08-31 15:58:29 +04:00
parent 23afb2ecef
commit cfff890a63

View file

@ -188,7 +188,9 @@ func onMessagesTextViewInputCapture(e *tcell.EventKey) *tcell.EventKey {
}
}
messageInputField.SetTitle("Replying to " + selectedMessage.Author.Username)
messageInputField.SetTitle(
"Replying to " + selectedMessage.Author.Username,
)
app.SetFocus(messageInputField)
}
@ -208,7 +210,11 @@ func onMessageInputFieldInputCapture(e *tcell.EventKey) *tcell.EventKey {
}
if selectedMessage != nil {
go session.ChannelMessageSendReply(selectedMessage.ChannelID, t, selectedMessage.Reference())
go session.ChannelMessageSendReply(
selectedMessage.ChannelID,
t,
selectedMessage.Reference(),
)
} else {
go session.ChannelMessageSend(selectedChannel.ID, t)
}