mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-12 21:52:07 +02:00
Don't force persistence if cache enabled (fix previous commit)
This commit is contained in:
parent
e5a98b100d
commit
d528457ba5
|
@ -3646,8 +3646,8 @@ max_items(Host, Options) ->
|
|||
0;
|
||||
_ ->
|
||||
case is_last_item_cache_enabled(Host) of
|
||||
true -> 1;
|
||||
false -> 0
|
||||
true -> 0;
|
||||
false -> 1
|
||||
end
|
||||
end
|
||||
end.
|
||||
|
|
Loading…
Reference in New Issue
Block a user