Bugfix where PMs wouldn't auto-update chat view
This commit is contained in:
2
main.go
2
main.go
@ -580,7 +580,7 @@ func handleMessage(api keybase.ChatAPI) {
|
||||
}
|
||||
}
|
||||
if api.Msg.Channel.MembersType == channel.MembersType && cleanChannelName(api.Msg.Channel.Name) == channel.Name {
|
||||
if 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 {
|
||||
printToView("Chat", formatOutput(api))
|
||||
chat := k.NewChat(channel)
|
||||
lastMessage.ID = api.Msg.ID
|
||||
|
||||
Reference in New Issue
Block a user