[jdev] XMPP doubt

Mickaël Rémond mickael.remond at process-one.net
Tue May 27 11:45:37 CDT 2008


Hello,

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  
> invitation
> doesn't appear, although in database we are not subscribed to each  
> other.
>
> 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.

Reference:
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"
	
-- 
Mickaël Rémond
  http://www.process-one.net/



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20080527/972a08de/attachment-0002.htm>


More information about the JDev mailing list