diff options
Diffstat (limited to 'src/event')
-rw-r--r-- | src/event/client_events.c | 2 | ||||
-rw-r--r-- | src/event/server_events.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/event/client_events.c b/src/event/client_events.c index a156fd62..a1a7408a 100644 --- a/src/event/client_events.c +++ b/src/event/client_events.c @@ -71,7 +71,7 @@ cl_ev_connect_account(ProfAccount *account) void cl_ev_disconnect(void) { - const char *jid = session_get_fulljid(); + const char *jid = connection_get_fulljid(); cons_show("%s logged out successfully.", jid); ui_disconnected(); diff --git a/src/event/server_events.c b/src/event/server_events.c index 5093f54a..76084d48 100644 --- a/src/event/server_events.c +++ b/src/event/server_events.c @@ -148,7 +148,7 @@ sv_ev_roster_received(void) cl_ev_presence_send(conn_presence, NULL, 0); } - const char *fulljid = session_get_fulljid(); + const char *fulljid = connection_get_fulljid(); plugins_on_connect(account_name, fulljid); } @@ -238,7 +238,7 @@ void sv_ev_room_message(const char *const room_jid, const char *const nick, const char *const message) { if (prefs_get_boolean(PREF_GRLOG)) { - Jid *jid = jid_create(session_get_fulljid()); + Jid *jid = jid_create(connection_get_fulljid()); groupchat_log_chat(jid->barejid, room_jid, nick, message); jid_destroy(jid); } |