chat logging plugin

Michael Scherer misc at
Wed Nov 8 08:46:05 UTC 2006

Le mardi 07 novembre 2006 11:01, Eugene Tumachoff a écrit :
> Hello,
> I'm trying to write a plugin to store users chat log.
> Can you please give me an advise, how to do it in the right way?
> Will it be correct to extend DJabberd::Component, or
> DJabberd::Component::External?

From what I understood, a  DJabberd::Component::External is used to interface 
with external software that use xep-0114.

I am not sure, but extending DJabberd::Component seems to be the thing you 
need to do.

Just do your logging in the handle_stanza method, that should be sufficient.

Michael Scherer

More information about the Djabberd mailing list