about summary refs log tree commit diff stats
path: root/src/xmpp/roster_list.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmpp/roster_list.c')
-rw-r--r--src/xmpp/roster_list.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/xmpp/roster_list.c b/src/xmpp/roster_list.c
index 81a51581..7954e3de 100644
--- a/src/xmpp/roster_list.c
+++ b/src/xmpp/roster_list.c
@@ -707,3 +707,11 @@ roster_process_pending_presence(void)
     g_slist_free(roster_pending_presence);
     roster_pending_presence = NULL;
 }
+
+gboolean
+roster_exists(void) {
+    if (roster != NULL) {
+        return TRUE;
+    }
+    return FALSE;
+}