Submit a patch which add the right plugin hooks to DJabberd's core first?
Then write your clean plugin?

On Fri, Jun 13, 2008 at 12:41 PM, Jacob Burkhart <[EMAIL PROTECTED]> wrote:

> Hi,
> I am in the process of writing a plugin to support stream compression (
> http://www.xmpp.org/extensions/xep-0138.html).
>
> I can't seem to find a way to setup my plugin as the handler for a new
> stanza type (<compress>) without directly editing the list of %element2class
> in ClientIn.pm
>
> Also, Once I receive this new stanza  'write' and 'event_read' need to
> be overridden on the active connection so that further communication is
> compressed.
>
> I can easily hack this into Connection.pm and ClientIn.pm but I want to
> keep the changes contained within my plugin.
>
> Any ideas?
>
> thanks,
> Jacob
>

Reply via email to