aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mod_muc_room.hrl2
-rw-r--r--include/pubsub.hrl2
2 files changed, 3 insertions, 1 deletions
diff --git a/include/mod_muc_room.hrl b/include/mod_muc_room.hrl
index bbe656575..cc00f73c8 100644
--- a/include/mod_muc_room.hrl
+++ b/include/mod_muc_room.hrl
@@ -65,6 +65,7 @@
captcha_whitelist = (?SETS):empty() :: gb_sets:set(),
mam = false :: boolean(),
pubsub = <<"">> :: binary(),
+ enable_hats = false :: boolean(),
lang = ejabberd_option:language() :: binary()
}).
@@ -124,6 +125,7 @@
history = #lqueue{} :: lqueue(),
subject = [] :: [text()],
subject_author = <<"">> :: binary(),
+ hats_users = #{} :: map(), % FIXME on OTP 21+: #{ljid() => #{binary() => binary()}},
just_created = erlang:system_time(microsecond) :: true | integer(),
activity = treap:empty() :: treap:treap(),
room_shaper = none :: ejabberd_shaper:shaper(),
diff --git a/include/pubsub.hrl b/include/pubsub.hrl
index 8496b95ac..da919e9e2 100644
--- a/include/pubsub.hrl
+++ b/include/pubsub.hrl
@@ -23,7 +23,7 @@
-define(ERR_EXTENDED(E, C), mod_pubsub:extended_error(E, C)).
%% The actual limit can be configured with mod_pubsub's option max_items_node
--define(MAXITEMS, 10).
+-define(MAXITEMS, 1000).
%% this is currently a hard limit.
%% Would be nice to have it configurable.