aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-03-10 02:24:05 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-03-10 02:24:05 +0800
commit2575e3bcda341c568c86a1e0ec8a4bafb059ffd2 (patch)
tree30d85a68071b3c07fa559b8982dfd97bbb5c581d
parent59be910599d2a956b6b2c551659458698cc514af (diff)
downloadgsoc2013-empathy-2575e3bcda341c568c86a1e0ec8a4bafb059ffd2.tar
gsoc2013-empathy-2575e3bcda341c568c86a1e0ec8a4bafb059ffd2.tar.gz
gsoc2013-empathy-2575e3bcda341c568c86a1e0ec8a4bafb059ffd2.tar.bz2
gsoc2013-empathy-2575e3bcda341c568c86a1e0ec8a4bafb059ffd2.tar.lz
gsoc2013-empathy-2575e3bcda341c568c86a1e0ec8a4bafb059ffd2.tar.xz
gsoc2013-empathy-2575e3bcda341c568c86a1e0ec8a4bafb059ffd2.tar.zst
gsoc2013-empathy-2575e3bcda341c568c86a1e0ec8a4bafb059ffd2.zip
Chatroom dirs only exist on the toplevel log directory
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2653
-rw-r--r--libempathy/empathy-log-store-empathy.c2
1 files changed, 1 insertions, 1 deletions
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));