25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

Revert "Recover fix of 907e239 lost in 9deb294 (thanks to Alexey Shchepin)" (#1183)

This reverts commit 53f3a45803.
This commit is contained in:
Badlop 2016-07-06 17:54:37 +02:00
parent 4220a2b98c
commit 12c0d888b1

View File

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