25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-24 17:29:28 +01:00

Do not send empty <after/> tag

This commit is contained in:
Evgeniy Khramtsov 2016-11-21 12:13:34 +03:00
parent c7ae916afc
commit 507e756b69

View File

@ -513,7 +513,8 @@ query_rsm_after(Config, From, To, NS) ->
#rsm_set{count = 5, first = First} =
recv_fin(Config, ID, QID, NS, true),
First
end, #rsm_first{}, [lists:seq(N, 5) || N <- lists:seq(1, 6)]).
end, #rsm_first{data = undefined},
[lists:seq(N, 5) || N <- lists:seq(1, 6)]).
query_rsm_before(Config, From, To) ->
lists:foreach(