Add Conversation info in UCA
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
4e0fbbc1de
commit
79c51b0e6d
|
@ -83,9 +83,11 @@ func (pne ProfileValueExtension) OnContactReceiveValue(profile peer.CwtchPeer, c
|
||||||
// Finally publish an update for listeners to react to.
|
// Finally publish an update for listeners to react to.
|
||||||
scope, zone, zpath := szp.GetScopeZonePath()
|
scope, zone, zpath := szp.GetScopeZonePath()
|
||||||
profile.PublishEvent(event.NewEvent(event.UpdatedConversationAttribute, map[event.Field]string{
|
profile.PublishEvent(event.NewEvent(event.UpdatedConversationAttribute, map[event.Field]string{
|
||||||
event.Scope: string(scope),
|
event.Scope: string(scope),
|
||||||
event.Path: string(zone.ConstructZonedPath(zpath)),
|
event.Path: string(zone.ConstructZonedPath(zpath)),
|
||||||
event.Data: value,
|
event.Data: value,
|
||||||
|
event.RemotePeer: conversation.Handle,
|
||||||
|
event.ConversationID: strconv.Itoa(conversation.ID),
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue