]> granicus.if.org Git - ejabberd/commitdiff
Do not send empty <after/> tag
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>
Mon, 21 Nov 2016 09:13:34 +0000 (12:13 +0300)
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>
Mon, 21 Nov 2016 09:13:34 +0000 (12:13 +0300)
test/mam_tests.erl

index 9154ea240fbe6b4caf8f3016bb1b78019f08e402..d628ddd2adebf87f047680ee77954f63dd44d7ac 100644 (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(