From 20d3f8232db4f2ccb3a953cfd6da186e7c6ff262 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Wed, 10 Apr 2019 01:44:45 +0300 Subject: [PATCH] Remove commented code --- ui/message-view.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/ui/message-view.go b/ui/message-view.go index a2ed029..924eb7a 100644 --- a/ui/message-view.go +++ b/ui/message-view.go @@ -89,18 +89,6 @@ func (view *MessageView) updateWidestSender(sender string) { } } -/*func (view *MessageView) UpdateMessageID(ifcMessage ifc.Message, newID string) { - message, ok := ifcMessage.(messages.UIMessage) - if !ok { - debug.Print("[Warning] Passed non-UIMessage ifc.Message object to UpdateMessageID().") - debug.PrintStack() - return - } - delete(view.messageIDs, message.ID()) - message.SetID(newID) - view.messageIDs[message.ID()] = message -}*/ - type MessageDirection int const (