[JDEV] Presence Unavailable???

chandan sonaye chandans at mahindrabt.com
Wed Mar 29 21:51:15 CST 2000


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/503c222d/attachment-0002.htm>


More information about the JDev mailing list