From: Badlop Date: Tue, 19 Jul 2011 19:19:55 +0000 (+0200) Subject: Support for: Room option to ignore private messages from visitors X-Git-Tag: v3.0.0-alpha-4~49 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ab3561700f251efd74a7212d28c984fc21e8894;p=ejabberd Support for: Room option to ignore private messages from visitors --- diff --git a/src/mod_muc/mod_muc_log.erl b/src/mod_muc/mod_muc_log.erl index a6650186d..1bddae8c3 100644 --- a/src/mod_muc/mod_muc_log.erl +++ b/src/mod_muc/mod_muc_log.erl @@ -877,6 +877,7 @@ roomconfig_to_string(Options, Lang, FileFormat) -> max_users -> "
" ++ OptText ++ ": \"" ++ htmlize(integer_to_list(T), FileFormat) ++ "\"
"; title -> "
" ++ OptText ++ ": \"" ++ htmlize(T, FileFormat) ++ "\"
"; description -> "
" ++ OptText ++ ": \"" ++ htmlize(T, FileFormat) ++ "\"
"; + allow_private_messages_from_visitors -> "
" ++ OptText ++ ": \"" ++ htmlize(atom_to_list(T), FileFormat) ++ "\"
"; _ -> "\"" ++ T ++ "\"" end end,