[ejabberd] mod_filter on 18 ?

Badlop badlop at gmail.com
Tue Sep 18 13:40:52 MSK 2018


I've committed the module to ejabberd-contrib repo, and updated it to
work with recent ejabberd.
I've tried it a little and seemed to work. I've also updated the
configuration examples.

https://github.com/processone/ejabberd-contrib/tree/master/mod_filter

--
Badlop
ProcessOne
On Tue, 18 Sep 2018 at 08:35, Dmitry Melekhov <dm at belkam.com> wrote:
>
> 17.09.2018 15:18, Dmitry Melekhov пишет:
> > 17.09.2018 15:01, Dmitry Melekhov пишет:
> >> Hello!
> >>
> >>
> >> mod_filter needs ns.hrl which is not available in 18.01 and jlib.hrl
> >> , which is not available in 18.06.
> >>
> >> So it can't be compiled.
> >>
> >>
> >> Could you tell me is there any version of mod_filter compatible with
> >> ejabberd 18 or any alternative?
> >>
> >>
> >> Thank you!
> >>
> > btw, what I really need is to allow to send/receive messages to/from
> > non-local users only for users from some list.
> >
> > May be there is such module in ejabberd 18?
> >
> >
> Finally, found a way to compile mod_filter-
>
> -include("xmpp.hrl").
>
>
> instead of ns.hrl and -include("jlib.hrl"). and -include("ejabberd.hrl").
>
> But it does not work- looks like it is not compatible with ejabberd 18 :-(
>
>
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd


More information about the ejabberd mailing list