diff --git a/utils/contacts.go b/utils/contacts.go index ed8b958..1fbb554 100644 --- a/utils/contacts.go +++ b/utils/contacts.go @@ -21,4 +21,5 @@ type Contact struct { IsArchived bool `json:"isArchived"` Identifier int `json:"identifier"` NotificationPolicy string `json:"notificationPolicy"` + Attributes map[string]string `json:"attributes"` } diff --git a/utils/eventHandler.go b/utils/eventHandler.go index efd434e..36715e6 100644 --- a/utils/eventHandler.go +++ b/utils/eventHandler.go @@ -282,6 +282,7 @@ func (eh *EventHandler) handleAppBusEvent(e *event.Event) string { GroupServer: groupServer, IsArchived: isArchived == event.True, NotificationPolicy: notificationPolicy, + Attributes: conversationInfo.Attributes, }) } }