diff --git a/extensions/profile_value.go b/extensions/profile_value.go index 254e288..4e62e2f 100644 --- a/extensions/profile_value.go +++ b/extensions/profile_value.go @@ -83,9 +83,11 @@ func (pne ProfileValueExtension) OnContactReceiveValue(profile peer.CwtchPeer, c // Finally publish an update for listeners to react to. scope, zone, zpath := szp.GetScopeZonePath() profile.PublishEvent(event.NewEvent(event.UpdatedConversationAttribute, map[event.Field]string{ - event.Scope: string(scope), - event.Path: string(zone.ConstructZonedPath(zpath)), - event.Data: value, + event.Scope: string(scope), + event.Path: string(zone.ConstructZonedPath(zpath)), + event.Data: value, + event.RemotePeer: conversation.Handle, + event.ConversationID: strconv.Itoa(conversation.ID), })) } }