diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2018-05-30 08:11:58 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2018-05-30 08:11:58 +0300 |
commit | 0f9db50c8d9fb15a062c5ccea47e5aa709a961b5 (patch) | |
tree | f252175010094f0ee70392645196e47dfcb2cbf1 /include | |
parent | 52b8226671fb102d3d219430d8df5bd311f476fb (diff) |
Support for roomconfig_lang/roominfo_lang
Now room owners are able to set a preferred language
for the discussions in the room, so other users can
discover rooms based on the language they wish to talk.
TODO: the language format should conform to RFC 5646.
This check should be implemented in 'xmpp' library.
Fixes #2436
Diffstat (limited to 'include')
-rw-r--r-- | include/mod_muc_room.hrl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mod_muc_room.hrl b/include/mod_muc_room.hrl index b224192c8..5966a6e09 100644 --- a/include/mod_muc_room.hrl +++ b/include/mod_muc_room.hrl @@ -66,7 +66,8 @@ vcard_xupdate = undefined :: undefined | external | binary(), captcha_whitelist = (?SETS):empty() :: ?TGB_SET, mam = false :: boolean(), - pubsub = <<"">> :: binary() + pubsub = <<"">> :: binary(), + lang = ?MYLANG :: binary() }). -type config() :: #config{}. |