From 2575e3bcda341c568c86a1e0ec8a4bafb059ffd2 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Mon, 9 Mar 2009 18:24:05 +0000 Subject: Chatroom dirs only exist on the toplevel log directory Signed-off-by: Sjoerd Simons svn path=/trunk/; revision=2653 --- libempathy/empathy-log-store-empathy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libempathy/empathy-log-store-empathy.c b/libempathy/empathy-log-store-empathy.c index 30284c264..3414d666f 100644 --- a/libempathy/empathy-log-store-empathy.c +++ b/libempathy/empathy-log-store-empathy.c @@ -643,7 +643,7 @@ log_store_empathy_get_chats_for_dir (EmpathyLogStore *self, gchar *filename; filename = g_build_filename (dir, name, NULL); - if (strcmp (name, LOG_DIR_CHATROOMS) == 0) + if (!is_chatroom && strcmp (name, LOG_DIR_CHATROOMS) == 0) { hits = g_list_concat (hits, log_store_empathy_get_chats_for_dir ( self, filename, TRUE)); -- cgit v1.2.3