Add Attribute Map to Contact Struct
continuous-integration/drone/pr Build is pending Details

This commit is contained in:
Sarah Jamie Lewis 2022-07-21 09:54:40 -07:00
parent 7e01cf4916
commit bf36df8de8
2 changed files with 2 additions and 0 deletions

View File

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

View File

@ -282,6 +282,7 @@ func (eh *EventHandler) handleAppBusEvent(e *event.Event) string {
GroupServer: groupServer,
IsArchived: isArchived == event.True,
NotificationPolicy: notificationPolicy,
Attributes: conversationInfo.Attributes,
})
}
}