fix notification settings for groups
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Dan Ballard 2022-02-09 16:17:51 -05:00
parent d0d5300a95
commit 11fbb17bfd
1 changed files with 2 additions and 1 deletions

View File

@ -341,7 +341,8 @@ func (eh *EventHandler) handleProfileEvent(ev *EventProfileEnvelope) string {
if ci != nil && ci.Accepted {
handleImagePreviews(profile, &ev.Event, conversationID, ci.ID)
}
ev.Event.Data["notification"] = string(determineNotification(ci))
gci, err := profile.GetConversationInfo(conversationID)
ev.Event.Data["notification"] = string(determineNotification(gci))
case event.PeerAcknowledgement:
ci, err := profile.FetchConversationInfo(ev.Event.Data["RemotePeer"])
if ci != nil && err == nil {