about summary refs log tree commit diff stats
path: root/src/otr
diff options
context:
space:
mode:
Diffstat (limited to 'src/otr')
-rw-r--r--src/otr/otr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/otr/otr.c b/src/otr/otr.c
index 7b7b8e8e..33899087 100644
--- a/src/otr/otr.c
+++ b/src/otr/otr.c
@@ -87,7 +87,7 @@ cb_policy(void *opdata, ConnContext *context)
 static int
 cb_is_logged_in(void *opdata, const char *accountname, const char *protocol, const char *recipient)
 {
-    jabber_conn_status_t conn_status = jabber_get_connection_status();
+    jabber_conn_status_t conn_status = connection_get_status();
     if (conn_status != JABBER_CONNECTED) {
         return PRESENCE_OFFLINE;
     }