[JDEV] Presence Bug???
Jim Burnett
jburnett at localsquare.com
Thu Feb 10 12:44:56 CST 2000
I agree with Ryan, I am developing a client with the jabberCOM library and
it does the same thing. I program function to store messages in a database
on the client side, then check for new messages or messages that havent been
read. Plus you can view your history by username. Kind of like the OutLook
express email client..
-jim-
----- Original Message -----
From: Ryan Eatmon <reatmon at ti.com>
To: <jdev at jabber.org>
Sent: Thursday, February 10, 2000 4:35 AM
Subject: Re: [JDEV] Presence Bug???
>
> The problem with what you are trying to do as I see it is that the
> server only knows if you are available or not. It currently does not
> keep track who you are available to. Much like the phone company
> doesn't want to become involved with who you do or don't want to talk
> to.
>
> Instead it's up to the client to say, "Hey, I just got an IM from Bob,
> but I don't want to see messages from Bob right now. So I think I'll
> just store this message locally off-line until such time as I say that I
> want to see those messages." Basically, you'll more than likely have to
> do this yourself, unless Jer and them feel that they can take up more
> server cycles with this sort of thing.
>
> Personally, I think that should be a client problem and not a server
> problem.
>
>
> chandan sonaye wrote:
> >
> > 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.
> >
>
>
> --
>
> Ryan Eatmon reatmon at ti.com
> -----------------------------------------
> Mixed Signal Product Development EDA Team
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>
More information about the JDev
mailing list