about summary refs log tree commit diff stats
path: root/src/xmpp/stanza.c
diff options
context:
space:
mode:
authorswirl <roachh@protonmail.com>2021-07-04 19:02:38 -0400
committerswirl <roachh@protonmail.com>2021-08-17 14:09:48 -0400
commit2cc354b6aef2f54b3f4dacc81f257c0625d5c734 (patch)
treeff7ff510e0ec21db07d80c5a0633370eb9564b7c /src/xmpp/stanza.c
parent5ea1ccbb468bd6c1195cb85fe29ac664e74436e7 (diff)
downloadprofani-tty-2cc354b6aef2f54b3f4dacc81f257c0625d5c734.tar.gz
fixed some bugs, added some more
- Added JABBER_RAW_CONNECT[ING/ED] connection states
- Added cl_ev_connect_raw and session_connect_raw to conform to normal
connection functions
- Fixed SIGABRT during registration
- Added a check in cmd_register to ensure it's actually connected before
registering--but this will always fail atm
Diffstat (limited to 'src/xmpp/stanza.c')
-rw-r--r--src/xmpp/stanza.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xmpp/stanza.c b/src/xmpp/stanza.c
index b1958799..4849f3e1 100644
--- a/src/xmpp/stanza.c
+++ b/src/xmpp/stanza.c
@@ -2782,6 +2782,9 @@ stanza_register_new_account(xmpp_ctx_t* ctx, const char* const user, const char*
     xmpp_stanza_add_child(register_new_account, password_st);
     xmpp_stanza_release(password_st);
 
+    xmpp_stanza_add_child(iq, register_new_account);
+    xmpp_stanza_release(register_new_account);
+
     return iq;
 }