forked from cwtch.im/libcwtch-go
fix notification settings for groups
This commit is contained in:
parent
d0d5300a95
commit
11fbb17bfd
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue