[JDEV] Capturing roster 'remove' events from an accept component
lukasm
lukasm at wp-sa.pl
Tue Jan 7 04:04:53 CST 2003
Mike Prince wrote:
>I was hoping to avoid patching the server. Perhaps something like
>gleening enough info from presence messages or such...
>
>
If you write new module, you will not patch server :)
>But, if push comes to shove I'll live a little in the C world ;)
>
>Thanks,
>
>Mike
>
>
>
>>-----Original Message-----
>>From: jdev-admin at jabber.org [mailto:jdev-admin at jabber.org] On
>>Behalf Of lukasm
>>Sent: Monday, January 06, 2003 1:42 AM
>>To: jdev at jabber.org
>>Subject: Re: [JDEV] Capturing roster 'remove' events from an
>>accept component
>>
>>
>>Mike Prince wrote:
>>
>>Add module to jsm, that captures messages to user.
>>When you get remove roster iq, forward event to your component.
>>
>>
>>
>>>Is there an elegant way of listening in on client initiated roster
>>>remove messages?
>>>
>>>I have an accept component that needs to know when a user removes a
>>>contact from their roster. I could tap in through the <xdb>
>>>
>>>
>>mechanism
>>
>>
>>>but that seems like I'd incur a lot of overhead just to find a few
>>>messages.
>>>
>>>Another thought was using xdb_sql and then polling for
>>>
>>>
>>updated records
>>
>>
>>>using a database generated timestamp, but again kind of kludgy.
>>>
>>>Anyone have a good idea of how I should do this?
>>>
>>>Thanks,
>>>
>>>Mike
>>>
>>>
>
>
>_______________________________________________
>jdev mailing list
>jdev at jabber.org
>http://mailman.jabber.org/listinfo/jdev
>
>
>
More information about the JDev
mailing list