1
0
mirror of https://github.com/Rudi9719/kbtui.git synced 2026-03-22 08:47:24 +00:00

Update view on non-text (edit/delete) messages

This commit is contained in:
Gregory 'Rudi' Rudolph
2019-09-22 08:28:40 -04:00
parent abe241c85f
commit c392269306

View File

@ -245,6 +245,11 @@ func handleMessage(api keybase.ChatAPI, g *gocui.Gui) {
} }
} }
lastMessage = api 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) { func reactToMessage(reaction string) {