[jdev] XMPP doubt

Peter Saint-Andre stpeter at stpeter.im
Tue May 27 12:23:49 CDT 2008


On 05/27/2008 11:18 AM, vitor at easyclick.pt wrote:
>> 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/
> 
> 
> 
> thank you Micka�l
> 
> i tried whit different clients and the notification only is show once. I
> need to force the request to send another notification.
> 
> someone knows if the server has any kind of configuration to solve this or
> anyone has the same problem?

Typically this is not configurable, since servers are coded to do the
right thing. What codebase are you using?

Peter

-- 
Peter Saint-Andre
https://stpeter.im/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7338 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20080527/84650988/attachment-0002.bin>


More information about the JDev mailing list