[JDEV] Presence Unavailable???
Keith Minkler
keith at digix.net
Thu Mar 30 07:20:43 CST 2000
When you send you unavailable, try inserting an <x> tag such as this:
<presence type='unavailable'><x
xmlnd='jabber:x:offline><messages/></x></presence>
that should force messages to be stored offline for *THAT* resource.
Regards,
Keith Minkler
-----Original Message-----
From: jdev-admin at jabber.org [mailto:jdev-admin at jabber.org]On Behalf Of
chandan sonaye
Sent: Wednesday, March 29, 2000 10:51 PM
To: jdev at jabber.org
Subject: [JDEV] Presence Unavailable???
Importance: High
Hi all,
I am developing Instant Messaging Client using Jabber Server.
I have noticed one abnormal behaviour in Jabber .
When I send presence request to server as "<presence type=
'unavailable'></presence>",
server makes me unavailble.
So whenever someone sends me message without specifying resourece
of me in his 'to' attribute
( i.e. <message to "a at jabber.org"> and not like <message to
"a at jabber.org/resource-name")
my message get stored on server as offline.
But when someone sends me a message with resource info. in 'to'
attribute ("a at jabber.org/a"),
then in this case, I receive his message though i am unavailable.
My application requires to send messages with resource-id
specified and also to use the feature of
of presence of unavailable type. I want that when I am unavailable,
my messages should be stored on serever as offline.
What can I do in this case? Is there any alternative for this?
Thanks,
chandan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20000330/2080fb90/attachment-0002.htm>
More information about the JDev
mailing list