diff --git a/src/mod_pubsub.erl b/src/mod_pubsub.erl index f9a909d44..b8f4c4905 100644 --- a/src/mod_pubsub.erl +++ b/src/mod_pubsub.erl @@ -3456,6 +3456,10 @@ get_configure_xfields(_Type, Options, Lang, Groups) -> {true, {roster_groups_allowed, Value, Groups}}; ({sql, _}) -> false; ({rsm, _}) -> false; + ({Item, infinity}) when Item == max_items; + Item == item_expire; + Item == children_max -> + {true, {Item, max}}; (_) -> true end, Options), Lang).