empathy r2653 - trunk/libempathy



Author: xclaesse
Date: Mon Mar  9 18:24:05 2009
New Revision: 2653
URL: http://svn.gnome.org/viewvc/empathy?rev=2653&view=rev

Log:
Chatroom dirs only exist on the toplevel log directory

Signed-off-by: Sjoerd Simons <sjoerd simons collabora co uk>

Modified:
   trunk/libempathy/empathy-log-store-empathy.c

Modified: trunk/libempathy/empathy-log-store-empathy.c
==============================================================================
--- trunk/libempathy/empathy-log-store-empathy.c	(original)
+++ trunk/libempathy/empathy-log-store-empathy.c	Mon Mar  9 18:24:05 2009
@@ -643,7 +643,7 @@
       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));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]