From fcce176b91f5136aac745cc3ab66afa632de8180 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Mon, 18 Nov 2019 16:55:36 +0100 Subject: Open new connection to send filled-in registration form fixes #644 --- xmpp-vala/src/module/xep/0077_in_band_registration.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmpp-vala') diff --git a/xmpp-vala/src/module/xep/0077_in_band_registration.vala b/xmpp-vala/src/module/xep/0077_in_band_registration.vala index 1c544c18..297f973c 100644 --- a/xmpp-vala/src/module/xep/0077_in_band_registration.vala +++ b/xmpp-vala/src/module/xep/0077_in_band_registration.vala @@ -20,7 +20,7 @@ public class Module : XmppStreamNegotiationModule { return form; } - public async string submit_to_server(XmppStream stream, Jid jid, Form form) { + public async string? submit_to_server(XmppStream stream, Jid jid, Form form) { StanzaNode query_node = new StanzaNode.build("query", NS_URI).add_self_xmlns(); query_node.put_node(form.get_submit_node()); Iq.Stanza iq = new Iq.Stanza.set(query_node); -- cgit v1.2.3-70-g09d2