[jdev] XMPP doubt
mickael.remond at process-one.net
Tue May 27 11:45:37 CDT 2008
Le 27 mai 08 à 18:23, vitor at easyclick.pt a écrit :
> Hi all!!!
> I'm using jabberd to develop a mobile application.
> When i send an invitation to a friend, he receives a notification.
> If he
> does nothing (accept/deny) and logout, when he login again the
> doesn't appear, although in database we are not subscribed to each
> this notification only apears once?
> where can i find more information about that?
The XMPP specification says it *should* receive the subscription
addition demand on every login until he does something.
It might not depending on which server you are using.
RFC 3921 section 9.4: Server Delivery and Client Acknowledgement of
Subscription Requests and State Change Notifications:
"In order to require acknowledgement, a server SHOULD send the request
or notification to the recipient each time the recipient logs in,
until the recipient acknowledges receipt of the notification by
"affirming" or "denying" the notification"
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the JDev