From c39226930613c6800b917a63bb8a5564dbcc1e33 Mon Sep 17 00:00:00 2001 From: Gregory 'Rudi' Rudolph Date: Sun, 22 Sep 2019 08:28:40 -0400 Subject: [PATCH] Update view on non-text (edit/delete) messages --- main.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.go b/main.go index 6897120..3643909 100644 --- a/main.go +++ b/main.go @@ -245,6 +245,11 @@ func handleMessage(api keybase.ChatAPI, g *gocui.Gui) { } } lastMessage = api + } else { + //TODO: For edit/delete run this + if api.Msg.Channel.MembersType == channel.MembersType && cleanChannelName(api.Msg.Channel.Name) == channel.Name { + go populateChat(g) + } } } func reactToMessage(reaction string) {