Hello, I have a question concerning presence when working via a server component.
I wish to relay presence changes of a virtual entity to a jabberd via the component, after which the server should send these presence updates to all users that have subscribed to the entity's presence. Is it necessary to have components add a to="" attribute in the presence stanza? At the moment of sending the presence updates, the component itself does not know who has subscribed to the entity, only the server. If I send the following presence stanza to the server from the component, presence is not relayed: <presence from="entity"> <status>Sleeping</status> <show>away</show> </presence> When however I add a to="" attribute, it is relayed properly to the subscriber: <presence from="entity" to="one_of_the_subscribers> <status>Sleeping</status> <show>away</show> </presence> Is this the way components should act? I.e. must components know where presence updates are to be sent? Thanks a lot, Ben -- Ben Turner SIEMENS - COM D MN B tel: +32 14 252326 ~ Scientia Vincere Tenebras ~
