mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 16:26:21 +00:00
Removed jabber_restart function
This commit is contained in:
@@ -96,14 +96,6 @@ jabber_init(const int disable_tls)
|
||||
caps_init();
|
||||
}
|
||||
|
||||
void
|
||||
jabber_restart(void)
|
||||
{
|
||||
jabber_conn.conn_status = JABBER_STARTED;
|
||||
jabber_conn.presence_type = PRESENCE_OFFLINE;
|
||||
FREE_SET_NULL(jabber_conn.presence_message);
|
||||
}
|
||||
|
||||
jabber_conn_status_t
|
||||
jabber_connect_with_account(ProfAccount *account, const char * const passwd)
|
||||
{
|
||||
@@ -159,6 +151,10 @@ jabber_disconnect(void)
|
||||
}
|
||||
connection_free_resources();
|
||||
}
|
||||
|
||||
jabber_conn.conn_status = JABBER_STARTED;
|
||||
jabber_conn.presence_type = PRESENCE_OFFLINE;
|
||||
FREE_SET_NULL(jabber_conn.presence_message);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
@@ -62,7 +62,6 @@ const char * jabber_get_jid(void);
|
||||
jabber_conn_status_t jabber_get_connection_status(void);
|
||||
jabber_presence_t jabber_get_presence_type(void);
|
||||
char * jabber_get_presence_message(void);
|
||||
void jabber_restart(void);
|
||||
void jabber_set_autoping(int seconds);
|
||||
char* jabber_get_account_name(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user