[jdev] confusion with subscription states in XIMP

Peter Beck pebe at webde-ag.de
Thu Jun 17 07:42:04 CDT 2004


Hi,

I'm confused about some difference between the Presence Subscription States described in XIMP, capture 9 (http://www.jabber.org/ietf/draft-ietf-xmpp-im-22.html#substates) and the behavior of real XMPP servers.
For my understanding it is possible to send a 'subscribed' message to a contact, without receiving a 'subscribe' from the contact before. In other word: The user/contact relation is for example in state 'None' and changes to state 'From' with sending <presence type='subscribed' to='contact' from='user' />.
As described in XIMP 9.2 table 1, a state change from 'None' to 'From' with 'subscribed' is not possible. In other word: only after receiving a 'subscribe' from the contact, the user could send a 'subscribed' to the contact.

Did I understand something wrong?
Did the behavior differ between standard and implementations?
If yes. What are the reasons? Maybe the behavior in XIMP is founded on security concerns, but I can't expect witch.

Pit 



More information about the JDev mailing list