mirror of
https://github.com/Rudi9719/kbtui.git
synced 2026-03-22 08:47:24 +00:00
Amend: put .string() back
I have no idea why it disappeared
This commit is contained in:
2
main.go
2
main.go
@ -606,7 +606,7 @@ func handleMessage(api keybase.ChatAPI) {
|
|||||||
if api.Msg.Channel.MembersType == channel.MembersType && cleanChannelName(api.Msg.Channel.Name) == channel.Name {
|
if api.Msg.Channel.MembersType == channel.MembersType && cleanChannelName(api.Msg.Channel.Name) == channel.Name {
|
||||||
if channel.MembersType == keybase.USER || channel.MembersType == keybase.TEAM && channel.TopicName == api.Msg.Channel.TopicName &&
|
if channel.MembersType == keybase.USER || channel.MembersType == keybase.TEAM && channel.TopicName == api.Msg.Channel.TopicName &&
|
||||||
channel.TopicType == api.Msg.Channel.TopicType {
|
channel.TopicType == api.Msg.Channel.TopicType {
|
||||||
printToView("Chat", formatOutput(api))
|
printToView("Chat", formatOutput(api).string())
|
||||||
chat := k.NewChat(channel)
|
chat := k.NewChat(channel)
|
||||||
lastMessage.ID = api.Msg.ID
|
lastMessage.ID = api.Msg.ID
|
||||||
chat.Read(api.Msg.ID)
|
chat.Read(api.Msg.ID)
|
||||||
|
|||||||
Reference in New Issue
Block a user