From 0b151f5902c190e2d620ac234bfc48f76f18a0c8 Mon Sep 17 00:00:00 2001 From: Badlop Date: Wed, 19 Dec 2018 11:59:52 +0100 Subject: [PATCH] Parse persistent and archiving room options importing from prosody (#2720) --- src/prosody2ejabberd.erl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/prosody2ejabberd.erl b/src/prosody2ejabberd.erl index b8d9f4da1..2690eb960 100644 --- a/src/prosody2ejabberd.erl +++ b/src/prosody2ejabberd.erl @@ -358,9 +358,11 @@ convert_room_config(Data) -> end, [{affiliations, convert_room_affiliations(Data)}, {allow_change_subj, proplists:get_bool(<<"changesubject">>, Config)}, + {mam, proplists:get_bool(<<"archiving">>, Config)}, {description, proplists:get_value(<<"description">>, Config, <<"">>)}, {members_only, proplists:get_bool(<<"members_only">>, Config)}, {moderated, proplists:get_bool(<<"moderated">>, Config)}, + {persistent, proplists:get_bool(<<"persistent">>, Config)}, {anonymous, Anonymous}] ++ Pass ++ Subj. convert_privacy_item({_, Item}) -> -- 2.40.0