mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 01:39:35 +02:00
Support MUC hats (XEP-0317, conversejs/prosody compatible)
This commit is contained in:
parent
5462a26a0a
commit
5d0e599f17
2 changed files with 416 additions and 6 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue