diff options
author | fiaxh <git@lightrise.org> | 2019-11-18 16:55:36 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2019-11-18 17:02:59 +0100 |
commit | fcce176b91f5136aac745cc3ab66afa632de8180 (patch) | |
tree | 630136d34cbdfe0a3055fc94655045ee7f2269bd /xmpp-vala | |
parent | 05561dd677b4098d1a618bcc3e01fc77c5ce19de (diff) | |
download | dino-fcce176b91f5136aac745cc3ab66afa632de8180.tar.gz dino-fcce176b91f5136aac745cc3ab66afa632de8180.zip |
Open new connection to send filled-in registration form
fixes #644
Diffstat (limited to 'xmpp-vala')
-rw-r--r-- | xmpp-vala/src/module/xep/0077_in_band_registration.vala | 2 |
1 files changed, 1 insertions, 1 deletions
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); |