Add Attribute Map to Contact Struct
continuous-integration/drone/pr Build is pending
Details
continuous-integration/drone/pr Build is pending
Details
This commit is contained in:
parent
7e01cf4916
commit
bf36df8de8
|
@ -21,4 +21,5 @@ type Contact struct {
|
||||||
IsArchived bool `json:"isArchived"`
|
IsArchived bool `json:"isArchived"`
|
||||||
Identifier int `json:"identifier"`
|
Identifier int `json:"identifier"`
|
||||||
NotificationPolicy string `json:"notificationPolicy"`
|
NotificationPolicy string `json:"notificationPolicy"`
|
||||||
|
Attributes map[string]string `json:"attributes"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -282,6 +282,7 @@ func (eh *EventHandler) handleAppBusEvent(e *event.Event) string {
|
||||||
GroupServer: groupServer,
|
GroupServer: groupServer,
|
||||||
IsArchived: isArchived == event.True,
|
IsArchived: isArchived == event.True,
|
||||||
NotificationPolicy: notificationPolicy,
|
NotificationPolicy: notificationPolicy,
|
||||||
|
Attributes: conversationInfo.Attributes,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue