[JDEV] Presence Bug???
Ryan Eatmon
reatmon at ti.com
Thu Feb 10 06:35:27 CST 2000
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
More information about the JDev
mailing list