mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Update MAM tests to always expect RSM in response
This commit is contained in:
parent
3ed75890cb
commit
9f62426343
1 changed files with 4 additions and 2 deletions
|
@ -1688,7 +1688,8 @@ mam_query_all(Config, NS) ->
|
|||
body = [Text]}]}]}]})
|
||||
end, Iter),
|
||||
if NS == ?NS_MAM_TMP ->
|
||||
?recv1(#iq{type = result, id = I, sub_els = []});
|
||||
?recv1(#iq{type = result, id = I,
|
||||
sub_els = [#mam_query{xmlns = NS, id = QID}]});
|
||||
true ->
|
||||
?recv1(#message{sub_els = [#mam_fin{complete = true, id = QID}]})
|
||||
end.
|
||||
|
@ -1724,7 +1725,8 @@ mam_query_with(Config, JID, NS) ->
|
|||
body = [Text]}]}]}]})
|
||||
end, Iter),
|
||||
if NS == ?NS_MAM_TMP ->
|
||||
?recv1(#iq{type = result, id = I, sub_els = []});
|
||||
?recv1(#iq{type = result, id = I,
|
||||
sub_els = [#mam_query{xmlns = NS}]});
|
||||
true ->
|
||||
?recv1(#message{sub_els = [#mam_fin{complete = true}]})
|
||||
end.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue