From 4d6112f28cf197860fbf88fdf0c47b0d3f86605b Mon Sep 17 00:00:00 2001 From: erinn Date: Thu, 8 Oct 2020 12:51:17 -0700 Subject: [PATCH] bugfix --- model/profile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/profile.go b/model/profile.go index 9cb9b8e..cb8c048 100644 --- a/model/profile.go +++ b/model/profile.go @@ -153,7 +153,7 @@ func (p *Profile) AddSentMessageToContactTimeline(onion string, messageTxt strin if contact.UnacknowledgedMessages == nil { contact.UnacknowledgedMessages = make(map[string]int) } - p.AddMessageToContactTimeline(onion, messageTxt, sent) + contact.Timeline.Insert(message) contact.UnacknowledgedMessages[eventID] = p.Timeline.Len() - 1 return message }