Bugfix where PMs wouldn't auto-update chat view

This commit is contained in:
Gregory Rudolph
2019-10-17 08:50:54 -04:00
parent d528568137
commit 09953ead7d

View File

@ -580,7 +580,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.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)) printToView("Chat", formatOutput(api))
chat := k.NewChat(channel) chat := k.NewChat(channel)
lastMessage.ID = api.Msg.ID lastMessage.ID = api.Msg.ID