[JDEV] selective presence(urgent!!!!!!)

Eliot Landrum eliot at landrum.cx
Fri May 5 10:43:13 CDT 2000


You are really talking about several things here...

First, the docs are talking about refusing or approving subscriptions. A
client can refuse subscriptions to certain users so that those users won't
be able to see when the client is online or offline. You can't send a
certain <presence> to anyone because the server processes all of that.

Something you may want to do is build a list of users that the client wants
to block and then just ignore them. This has been implemented in
Jabber.com's client and it works really well.

On Thu, 04 May 2000, chetan s ithal wrote:
> Date: Thu, 04 May 2000 20:10:11 +0530
> To: jdev at jabber.org
> From: chetan s ithal <chetani at mahindrabt.com>
> Reply-To: jdev at jabber.org
> Subject: [JDEV] selective presence(urgent!!!!!!)
> 
> Hi ,
>         We are developing IM client using Jabber ( with  JabberServer
> 1.0RC and latest
>         COM32 object ). It is written in the documentation that you can
> have 'selective
>         presence' to an individual user. This means that you can be
> online for one user
>         and offline for another.
>          I am facing following problem :
>          When I send presence to a specific user with type ='
> unavailable', my client does
>          not become offline to that user. It still receives messages
> from that user.
>          What can I do for this ? How can I achieve this feature of
> becoming offline for
>          one user and online for others?
> 
>          Thanking in advance,
>          Chetan S. Ithal
> 
> 
-- 
Eliot Landrum
eliot at landrum.cx
GnuPG ID: 945150D5

-Soli Deo Gloria-





More information about the JDev mailing list