chat logging plugin
misc at mandriva.org
Wed Nov 8 10:45:53 UTC 2006
Le mercredi 08 novembre 2006 10:36, Eugene Tumachoff a écrit :
> Hello Michael,
> MS> From what I understood, a DJabberd::Component::External is used to
> interface MS> with external software that use xep-0114.
> MS> I am not sure, but extending DJabberd::Component seems to be the thing
> you MS> need to do.
> MS> Just do your logging in the handle_stanza method, that should be
> Thank you! You've confirmed that I'm thinking in the right direction.
> So, I need to call $self->SUPER::handle_stanza in the overriden sub,
> and unfortunatelly, here I get the same bug (deep recursion) as described
And if you do not call $self->SUPER::handle_stanza ?
The example component don't, and from what I see, it is only here to dispatch
the stanza to handle_message, and other convenient methods.
Maybe you could simply override those ?
More information about the Djabberd