forked from cwtch.im/libcwtch-go
Merge pull request 'Add Attribute Map to Contact Struct' (#92) from pinned into trunk
Reviewed-on: cwtch.im/libcwtch-go#92
This commit is contained in:
commit
7b3e842715
|
@ -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,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue