aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2018-06-14 19:19:09 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2018-06-14 19:19:09 +0300
commit7bd5c7fe59513940aa0d221f06b11b9d78cb383a (patch)
tree11ab4b2acde3adc437dba3eeedffd1985289d5df
parentGet rid of jlib.hrl/jlib.erl (diff)
Update mod_muc_room.hrl
-rw-r--r--include/mod_muc_room.hrl16
1 files changed, 7 insertions, 9 deletions
diff --git a/include/mod_muc_room.hrl b/include/mod_muc_room.hrl
index b4804114a..35bdb6ff7 100644
--- a/include/mod_muc_room.hrl
+++ b/include/mod_muc_room.hrl
@@ -18,8 +18,6 @@
%%%
%%%----------------------------------------------------------------------
--include("type_compat.hrl").
-
-define(MAX_USERS_DEFAULT, 200).
-define(SETS, gb_sets).
@@ -64,7 +62,7 @@
logging = false :: boolean(),
vcard = <<"">> :: binary(),
vcard_xupdate = undefined :: undefined | external | binary(),
- captcha_whitelist = (?SETS):empty() :: ?TGB_SET,
+ captcha_whitelist = (?SETS):empty() :: gb_sets:set(),
mam = false :: boolean(),
pubsub = <<"">> :: binary(),
lang = ejabberd_config:get_mylang() :: binary()
@@ -107,13 +105,13 @@
access = {none,none,none,none} :: {atom(), atom(), atom(), atom()},
jid = #jid{} :: jid(),
config = #config{} :: config(),
- users = (?DICT):new() :: ?TDICT,
- subscribers = (?DICT):new() :: ?TDICT,
- subscriber_nicks = (?DICT):new() :: ?TDICT,
+ users = (?DICT):new() :: dict:dict(),
+ subscribers = (?DICT):new() :: dict:dict(),
+ subscriber_nicks = (?DICT):new() :: dict:dict(),
last_voice_request_time = treap:empty() :: treap:treap(),
- robots = (?DICT):new() :: ?TDICT,
- nicks = (?DICT):new() :: ?TDICT,
- affiliations = (?DICT):new() :: ?TDICT,
+ robots = (?DICT):new() :: dict:dict(),
+ nicks = (?DICT):new() :: dict:dict(),
+ affiliations = (?DICT):new() :: dict:dict(),
history :: lqueue(),
subject = [] :: [text()],
subject_author = <<"">> :: binary(),