25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-28 16:34:13 +01:00

Recover fix of 907e239 lost in 9deb294 (thanks to Alexey Shchepin)

This commit is contained in:
Badlop 2016-06-08 19:34:05 +02:00
parent 858d880675
commit 53f3a45803

View File

@ -791,7 +791,7 @@ get_messages_subset(User, Host, MsgsAll) ->
fun(A) when is_atom(A) -> A end, fun(A) when is_atom(A) -> A end,
max_user_offline_messages), max_user_offline_messages),
MaxOfflineMsgs = case get_max_user_messages(Access, MaxOfflineMsgs = case get_max_user_messages(Access,
User, Host) {User, Host}, Host)
of of
Number when is_integer(Number) -> Number; Number when is_integer(Number) -> Number;
_ -> 100 _ -> 100