mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Remove queryid from MAM fin element
According to xep, fin element is not supposed to have a queryid attribute.
This commit is contained in:
parent
fca41796c0
commit
d6e9e03422
@ -1286,9 +1286,11 @@ send(Msgs, Count, IsComplete,
|
|||||||
RSMOut = make_rsm_out(Msgs, Count),
|
RSMOut = make_rsm_out(Msgs, Count),
|
||||||
Result = if NS == ?NS_MAM_TMP ->
|
Result = if NS == ?NS_MAM_TMP ->
|
||||||
#mam_query{xmlns = NS, id = QID, rsm = RSMOut};
|
#mam_query{xmlns = NS, id = QID, rsm = RSMOut};
|
||||||
true ->
|
NS == ?NS_MAM_0 ->
|
||||||
#mam_fin{xmlns = NS, id = QID, rsm = RSMOut,
|
#mam_fin{xmlns = NS, id = QID, rsm = RSMOut,
|
||||||
complete = IsComplete}
|
complete = IsComplete}
|
||||||
|
true ->
|
||||||
|
#mam_fin{xmlns = NS, rsm = RSMOut, complete = IsComplete}
|
||||||
end,
|
end,
|
||||||
if NS /= ?NS_MAM_0 ->
|
if NS /= ?NS_MAM_0 ->
|
||||||
lists:foreach(
|
lists:foreach(
|
||||||
|
Loading…
Reference in New Issue
Block a user