mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +01:00
parent
858d880675
commit
53f3a45803
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user