[JDEV] Presence Bug???

chandan sonaye chandans at mahindrabt.com
Thu Feb 10 03:39:07 CST 2000


Hi all,
      I am developing a Jabber client.

     My client can send his "Presence info" to other client by two ways.

    1.  Send xml stream like  <presence type="unavailable">
                 But this will send "I am unavailable" to all users in
my roster.
    2.  or send  <presence to="user-id at jabber.org"  type="unavailable">
                 This will send "I am unavailable to only user-id".

    Now   I am facing following problem.

   Case '1' is working fine. That means once i send "presence
unavailable" ,
          all my friends get this message. Now if  any one of them send
me a message,
           it will bw stored as offline message.

   Case '2': In case 2, when I send  "Presence
to='userid at jabber.org'      type='unavailable 'then only that user have
id=userid will receive info about my unavailibility.
      But here comes the problem.
      Now here after when that perticulat user-id sends me a message,
      it should have been considered as offline message.
      But it is not the case. Jabber Server sends   that message
     to me instantly as if i am available for that user-id.
     If this is the case, then what is the use of this selective
presence info?

    Is this a feature of Jabber Server or a Bug???

   If it is a feature of Jabber Server, then how can I achieve Selective

   Presence information passing i.e available for some users and
   non-available for other users.

Thank you

chandan



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20000210/094ed0ba/attachment-0002.htm>


More information about the JDev mailing list