]> granicus.if.org Git - ejabberd/commit
Support for roomconfig_lang/roominfo_lang
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>
Wed, 30 May 2018 05:11:58 +0000 (08:11 +0300)
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>
Wed, 30 May 2018 05:11:58 +0000 (08:11 +0300)
commit0f9db50c8d9fb15a062c5ccea47e5aa709a961b5
treef252175010094f0ee70392645196e47dfcb2cbf1
parent52b8226671fb102d3d219430d8df5bd311f476fb
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
include/mod_muc_room.hrl
src/mod_muc.erl
src/mod_muc_room.erl