allow custom message handling #325

Merged
sarah merged 18 commits from specify-events into master 2020-10-22 23:34:22 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit bc04710856 - Show all commits

View File

@ -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
}