diff options
Diffstat (limited to 'src/profanity.c')
-rw-r--r-- | src/profanity.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/profanity.c b/src/profanity.c index 6bd1f0f9..56f242ef 100644 --- a/src/profanity.c +++ b/src/profanity.c @@ -130,7 +130,7 @@ prof_run(char *log_level, char *account_name) #endif plugins_run_timed(); notify_remind(); - jabber_process_events(10); + session_process_events(10); iq_autoping_check(); ui_update(); #ifdef HAVE_GTK @@ -209,7 +209,7 @@ _check_autoaway(void) int away_time_ms = away_time * 60000; int xa_time_ms = xa_time * 60000; - char *account = jabber_get_account_name(); + char *account = session_get_account_name(); resource_presence_t curr_presence = accounts_get_last_presence(account); char *curr_status = accounts_get_last_status(account); @@ -349,7 +349,7 @@ _init(char *log_level) theme_init(theme); prefs_free_string(theme); ui_init(); - jabber_init(); + session_init(); cmd_init(); log_info("Initialising contact list"); muc_init(); @@ -387,7 +387,7 @@ _shutdown(void) #ifdef HAVE_GTK tray_shutdown(); #endif - jabber_shutdown(); + session_shutdown(); plugins_on_shutdown(); muc_close(); caps_close(); |