1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-03 01:39:35 +02:00

Replace options rtbl_host and rtbl_domains_node with rtbl_services

This commit is contained in:
Badlop 2025-06-27 17:56:58 +02:00
parent d862e04186
commit 5e93725044
7 changed files with 76 additions and 22 deletions

View file

@ -24,3 +24,13 @@
-type filename() :: binary() | none | false.
-type jid_set() :: sets:set(ljid()).
-type url_set() :: sets:set(url()).
-define(DEFAULT_RTBL_DOMAINS_NODE, <<"spam_source_domains">>).
-record(rtbl_service,
{host = none :: binary() | none,
node = ?DEFAULT_RTBL_DOMAINS_NODE :: binary(),
subscribed = false :: boolean(),
retry_timer = undefined :: reference() | undefined}).
-type rtbl_service() :: #rtbl_service{}.