From 09953ead7d8d761b2bee85aeab378e783e610ef5 Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Thu, 17 Oct 2019 08:50:54 -0400 Subject: [PATCH] Bugfix where PMs wouldn't auto-update chat view --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index b0c0432..fa3a731 100644 --- a/main.go +++ b/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