[ejabberd] mod_filter on 18 ?

Dmitry Melekhov dm at belkam.com
Tue Sep 18 09:35:03 MSK 2018


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 :-(




More information about the ejabberd mailing list