aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-11-27 13:07:10 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-11-27 13:07:10 +0300
commit10edbe3e09cc677a778e4703b37f3d37619bed85 (patch)
tree5c6304c628e1a138db8d7f4648bdf39544c23c23 /include
parentIntroduce option 'ca_file' (diff)
Improve muc#roominfo and muc#roomconfig forms
Now 'muc#roominfo_contactjid' and 'muc#roominfo_pubsub' fields are returned within muc#roominfo form. Also, both 'muc#roominfo_pubsub' and 'muc#roomconfig_pubsub' are now validated.
Diffstat (limited to 'include')
-rw-r--r--include/mod_muc_room.hrl3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mod_muc_room.hrl b/include/mod_muc_room.hrl
index 97b84e22b..842aadddd 100644
--- a/include/mod_muc_room.hrl
+++ b/include/mod_muc_room.hrl
@@ -64,7 +64,8 @@
logging = false :: boolean(),
vcard = <<"">> :: binary(),
captcha_whitelist = (?SETS):empty() :: ?TGB_SET,
- mam = false :: boolean()
+ mam = false :: boolean(),
+ pubsub = <<"">> :: binary()
}).
-type config() :: #config{}.