aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2022-08-04 12:25:53 +0200
committerBadlop <badlop@process-one.net>2022-08-04 12:28:15 +0200
commit00e6b0c97c74015a8266e75b8277c70248c81d8d (patch)
treef970d5967a25946ded157a97b91a3003574e2d8e
parentCI: Remove syntax_tools from applications, as fast_xml fails Dialyzer (diff)
Show allow_query_users room option in disco info (#3830)
-rw-r--r--rebar.config2
-rw-r--r--src/mod_muc_room.erl1
2 files changed, 2 insertions, 1 deletions
diff --git a/rebar.config b/rebar.config
index d0b009848..22c66beae 100644
--- a/rebar.config
+++ b/rebar.config
@@ -70,7 +70,7 @@
{stringprep, ".*", {git, "https://github.com/processone/stringprep", {tag, "1.0.28"}}},
{if_var_true, stun,
{stun, ".*", {git, "https://github.com/processone/stun", {tag, "1.2.2"}}}},
- {xmpp, ".*", {git, "https://github.com/processone/xmpp", {tag, "1.5.8"}}},
+ {xmpp, ".*", {git, "https://github.com/processone/xmpp", "cdda2bea2df0b4ed40fbd854f6f1bf21c6b7a8c5"}},
{yconf, ".*", {git, "https://github.com/processone/yconf", {tag, "1.0.13"}}}
]}.
diff --git a/src/mod_muc_room.erl b/src/mod_muc_room.erl
index d2eb80cc4..961b51762 100644
--- a/src/mod_muc_room.erl
+++ b/src/mod_muc_room.erl
@@ -4321,6 +4321,7 @@ iq_disco_info_extras(Lang, StateData, Static) ->
{description, Config#config.description},
{changesubject, Config#config.allow_change_subj},
{allowinvites, Config#config.allow_user_invites},
+ {allow_query_users, Config#config.allow_query_users},
{allowpm, AllowPM},
{lang, Config#config.lang}],
Fs2 = case Config#config.pubsub of