aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module
diff options
context:
space:
mode:
Diffstat (limited to 'xmpp-vala/src/module')
-rw-r--r--xmpp-vala/src/module/xep/0198_stream_management.vala5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmpp-vala/src/module/xep/0198_stream_management.vala b/xmpp-vala/src/module/xep/0198_stream_management.vala
index 10709d18..5ce208f1 100644
--- a/xmpp-vala/src/module/xep/0198_stream_management.vala
+++ b/xmpp-vala/src/module/xep/0198_stream_management.vala
@@ -152,6 +152,11 @@ public class Module : XmppStreamNegotiationModule, WriteNodeFunc {
((IoXmppStream)stream).write_obj = this;
} else if (node.name == "failed") {
session_id = null;
+ string? h_acked = node.get_attribute("h", NS_URI);
+ if (h_acked != null) {
+ h_outbound = int.parse(h_acked);
+ handle_incoming_h(stream, h_outbound);
+ }
foreach (var id in in_flight_stanzas.keys) {
in_flight_stanzas[id].promise.set_exception(new IOStreamError.WRITE("Stanza not acked and session not resumed"));
}