mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
Renamed handle_error_message -> handle_presence_error
This commit is contained in:
parent
af880e2cfb
commit
2cd24a484a
@ -37,9 +37,9 @@
|
|||||||
#include "otr.h"
|
#include "otr.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// TODO - replace with stanza error handlers
|
// handle presence stanza errors
|
||||||
void
|
void
|
||||||
handle_error_message(const char *from, const char *err_msg)
|
handle_presence_error(const char *from, const char *err_msg)
|
||||||
{
|
{
|
||||||
ui_handle_error_message(from, err_msg);
|
ui_handle_error_message(from, err_msg);
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
#include "xmpp/xmpp.h"
|
#include "xmpp/xmpp.h"
|
||||||
|
|
||||||
void handle_error_message(const char *from, const char *err_msg);
|
void handle_presence_error(const char *from, const char *err_msg);
|
||||||
void handle_login_account_success(char *account_name);
|
void handle_login_account_success(char *account_name);
|
||||||
void handle_lost_connection(void);
|
void handle_lost_connection(void);
|
||||||
void handle_failed_login(void);
|
void handle_failed_login(void);
|
||||||
|
@ -370,7 +370,7 @@ _presence_error_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza,
|
|||||||
|
|
||||||
g_string_free(log_msg, TRUE);
|
g_string_free(log_msg, TRUE);
|
||||||
|
|
||||||
handle_error_message(from, err_msg);
|
handle_presence_error(from, err_msg);
|
||||||
|
|
||||||
free(err_msg);
|
free(err_msg);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user