[JDEV] [ANNOUNCE] Loudmouth 0.8 released!

Trent Melcher tmelcher at trilogytel.com
Fri Apr 4 10:11:25 CST 2003


I did want it for a specific user, but if I have to get everyones presence,
I can just yank out the presence for the user I looking for at the time.
Since this is an app that isnt constantly running, I wont need to monitor
their changes, just when I go to send the message, I guess I can send an
initial presence to get back the status of everyone else then send the
message based on what comes back.

Is you can probably tell, Im still learning the guts of how jabber actually
works.

Trent



-----Original Message-----
From: jdev-admin at jabber.org [mailto:jdev-admin at jabber.org]On Behalf Of
Mikael Hallendal
Sent: Friday, April 04, 2003 9:44 AM
To: jdev at jabber.org
Subject: RE: [JDEV] [ANNOUNCE] Loudmouth 0.8 released!


tor 2003-04-03 klockan 22.07 skrev Trent Melcher:
> How does a client do it??  Wouldn't it be on those same line??

Hmm .. I thought that you wanted for one specific user.
When you connect and send your initial presence that you are online you
get presences from the people in your roster regarding there state. Just
look for the one you are interested in.

And you'll have to monitor there changes that gets pushed to you. You'll
do this by registring a presence handler and look at the presences you
receive in it.

Not sure if you can send a "give me your current presence" to a certain
roster item.

Regards,
  Mikael Hallendal
--
Mikael Hallendal                micke at codefactory.se
CodeFactory AB                  http://www.codefactory.se/
                                Cell: +46 (0)709 718 918


_______________________________________________
jdev mailing list
jdev at jabber.org
http://mailman.jabber.org/listinfo/jdev





More information about the JDev mailing list