summaryrefslogtreecommitdiff
path: root/include/mod_muc_room.hrl
diff options
context:
space:
mode:
authorAlexey Shchepin <alexey@process-one.net>2021-10-29 05:12:26 +0300
committerAlexey Shchepin <alexey@process-one.net>2021-10-29 05:35:16 +0300
commit5d0e599f1784d7529dcd365ad8c3dd46c1ac85ad (patch)
treebb43112ed91eeaf71b682491243cd9b981613189 /include/mod_muc_room.hrl
parentRemove obsolete cookie preparation in spool dir, it's now stored in HOME (diff)
Support MUC hats (XEP-0317, conversejs/prosody compatible)
Diffstat (limited to '')
-rw-r--r--include/mod_muc_room.hrl2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mod_muc_room.hrl b/include/mod_muc_room.hrl
index bbe65657..a9883366 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 = #{} :: #{ljid() => #{binary() => binary()}},
just_created = erlang:system_time(microsecond) :: true | integer(),
activity = treap:empty() :: treap:treap(),
room_shaper = none :: ejabberd_shaper:shaper(),