mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Move xmpp_initialise() to conneciton.c
This commit is contained in:
parent
6ce8edc194
commit
2f61f8d646
@ -78,6 +78,7 @@ static int _connection_certfail_cb(xmpp_tlscert_t *xmpptlscert, const char *cons
|
|||||||
|
|
||||||
void connection_init(void)
|
void connection_init(void)
|
||||||
{
|
{
|
||||||
|
xmpp_initialize();
|
||||||
conn.conn_status = JABBER_STARTED;
|
conn.conn_status = JABBER_STARTED;
|
||||||
conn.presence_message = NULL;
|
conn.presence_message = NULL;
|
||||||
conn.xmpp_conn = NULL;
|
conn.xmpp_conn = NULL;
|
||||||
|
@ -96,7 +96,6 @@ session_init(void)
|
|||||||
connection_init();
|
connection_init();
|
||||||
presence_sub_requests_init();
|
presence_sub_requests_init();
|
||||||
caps_init();
|
caps_init();
|
||||||
xmpp_initialize();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
jabber_conn_status_t
|
jabber_conn_status_t
|
||||||
|
Loading…
Reference in New Issue
Block a user