diff options
author | Tulir Asokan <tulir@maunium.net> | 2019-04-10 01:44:45 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2019-04-10 01:44:45 +0300 |
commit | 20d3f8232db4f2ccb3a953cfd6da186e7c6ff262 (patch) | |
tree | 602d481c67fbbb2b8b4524bdcbcb8d8a26908bb8 /ui | |
parent | 06c306bee91ce2b7e7b5f32fad7c3f8b5b38d883 (diff) |
Remove commented code
Diffstat (limited to 'ui')
-rw-r--r-- | ui/message-view.go | 12 |
1 files changed, 0 insertions, 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 ( |