Merge pull request 'Add Attribute Map to Contact Struct' (#92) from pinned into trunk
continuous-integration/drone/push Build is passing Details

Reviewed-on: #92
This commit is contained in:
Dan Ballard 2022-07-22 16:34:36 +00:00
commit 7b3e842715
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,
})
}
}