summaryrefslogtreecommitdiff
path: root/include/mod_muc_room.hrl
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2021-10-31 21:59:00 +0100
committerHolger Weiss <holger@zedat.fu-berlin.de>2021-10-31 21:59:00 +0100
commitc4f6c9dfe765e017c5f2d83c8ab6311c97304250 (patch)
tree87346998703c039110f72bc514c5b309a68902e8 /include/mod_muc_room.hrl
parentmod_pubsub: Remove unused check_opt_range/3 clause (diff)
mod_muc_room.hrl: Work around old Dialyzer bug
On Erlang/OTP versions older than 21, Dialyzer stumbles over non-empty map type specifications for record fields (OTP-15098).
Diffstat (limited to '')
-rw-r--r--include/mod_muc_room.hrl2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mod_muc_room.hrl b/include/mod_muc_room.hrl
index a9883366..cc00f73c 100644
--- a/include/mod_muc_room.hrl
+++ b/include/mod_muc_room.hrl
@@ -125,7 +125,7 @@
history = #lqueue{} :: lqueue(),
subject = [] :: [text()],
subject_author = <<"">> :: binary(),
- hats_users = #{} :: #{ljid() => #{binary() => 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(),