aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorJonny Lamb <jonnylamb@gnome.org>2010-03-12 10:22:47 +0800
committerJonny Lamb <jonnylamb@gnome.org>2010-03-13 00:47:09 +0800
commitc448b89bb4f18377818b7802f4cb66ba47e3fe04 (patch)
tree5e87eee375c0e4886d906c0b82c710774c41bd10 /libempathy
parent2d9cbe355d22570bbc32d2cde0d7942adab355e0 (diff)
downloadgsoc2013-empathy-c448b89bb4f18377818b7802f4cb66ba47e3fe04.tar
gsoc2013-empathy-c448b89bb4f18377818b7802f4cb66ba47e3fe04.tar.gz
gsoc2013-empathy-c448b89bb4f18377818b7802f4cb66ba47e3fe04.tar.bz2
gsoc2013-empathy-c448b89bb4f18377818b7802f4cb66ba47e3fe04.tar.lz
gsoc2013-empathy-c448b89bb4f18377818b7802f4cb66ba47e3fe04.tar.xz
gsoc2013-empathy-c448b89bb4f18377818b7802f4cb66ba47e3fe04.tar.zst
gsoc2013-empathy-c448b89bb4f18377818b7802f4cb66ba47e3fe04.zip
Migrate butterfly logs to remove the network ID suffix.
Bug #612519 contains much more information about this change. Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-log-store-empathy.c7
-rw-r--r--libempathy/empathy-log-store-empathy.h5
2 files changed, 12 insertions, 0 deletions
diff --git a/libempathy/empathy-log-store-empathy.c b/libempathy/empathy-log-store-empathy.c
index 2088fca03..06eb935ca 100644
--- a/libempathy/empathy-log-store-empathy.c
+++ b/libempathy/empathy-log-store-empathy.c
@@ -815,3 +815,10 @@ log_store_iface_init (gpointer g_iface,
iface->ack_message = NULL;
iface->get_filtered_messages = log_store_empathy_get_filtered_messages;
}
+
+gchar *
+empathy_log_store_empathy_get_dir (EmpathyLogStoreEmpathy *store,
+ TpAccount *account)
+{
+ return log_store_empathy_get_dir (EMPATHY_LOG_STORE (store), account, NULL, FALSE);
+}
diff --git a/libempathy/empathy-log-store-empathy.h b/libempathy/empathy-log-store-empathy.h
index 3b26d2ccf..5fa6c2286 100644
--- a/libempathy/empathy-log-store-empathy.h
+++ b/libempathy/empathy-log-store-empathy.h
@@ -30,6 +30,8 @@
#include <glib.h>
+#include <telepathy-glib/account.h>
+
G_BEGIN_DECLS
#define EMPATHY_TYPE_LOG_STORE_EMPATHY \
@@ -64,6 +66,9 @@ struct _EmpathyLogStoreEmpathyClass
GType empathy_log_store_empathy_get_type (void);
+gchar * empathy_log_store_empathy_get_dir (EmpathyLogStoreEmpathy *store,
+ TpAccount *account);
+
G_END_DECLS
#endif /* ENABLE_TPL */