From: Evgeniy Khramtsov Date: Mon, 21 Nov 2016 09:13:34 +0000 (+0300) Subject: Do not send empty tag X-Git-Tag: 16.12-beta1~39 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=507e756b69190ec1676a677b6a4a07b129f77cba;p=ejabberd Do not send empty tag --- diff --git a/test/mam_tests.erl b/test/mam_tests.erl index 9154ea240..d628ddd2a 100644 --- a/test/mam_tests.erl +++ b/test/mam_tests.erl @@ -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(