diff options
-rw-r--r-- | telepathy-logger/log-store.c | 6 | ||||
-rw-r--r-- | telepathy-logger/log-store.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/telepathy-logger/log-store.c b/telepathy-logger/log-store.c index 255ded2..afe1d55 100644 --- a/telepathy-logger/log-store.c +++ b/telepathy-logger/log-store.c @@ -154,15 +154,15 @@ tpl_log_store_get_messages_for_date (TplLogStore *self, GList * -tpl_log_store_get_last_messages (TplLogStore *self, +tpl_log_store_get_recent_messages (TplLogStore *self, TpAccount *account, const gchar *chat_id, gboolean chatroom) { - if (!TPL_LOG_STORE_GET_INTERFACE (self)->get_last_messages) + if (!TPL_LOG_STORE_GET_INTERFACE (self)->get_recent_messages) return NULL; - return TPL_LOG_STORE_GET_INTERFACE (self)->get_last_messages (self, account, + return TPL_LOG_STORE_GET_INTERFACE (self)->get_recent_messages (self, account, chat_id, chatroom); } diff --git a/telepathy-logger/log-store.h b/telepathy-logger/log-store.h index 8b26776..971f7cb 100644 --- a/telepathy-logger/log-store.h +++ b/telepathy-logger/log-store.h @@ -69,7 +69,7 @@ typedef struct const gchar *chat_id, gboolean chatroom); GList * (*get_messages_for_date) (TplLogStore *self, TpAccount *account, const gchar *chat_id, gboolean chatroom, const gchar *date); - GList * (*get_last_messages) (TplLogStore *self, TpAccount *account, + GList * (*get_recent_messages) (TplLogStore *self, TpAccount *account, const gchar *chat_id, gboolean chatroom); GList * (*get_chats) (TplLogStore *self, TpAccount *account); GList * (*search_new) (TplLogStore *self, const gchar *text); @@ -92,7 +92,7 @@ GList *tpl_log_store_get_dates (TplLogStore *self, TpAccount *account, GList *tpl_log_store_get_messages_for_date (TplLogStore *self, TpAccount *account, const gchar *chat_id, gboolean chatroom, const gchar *date); -GList *tpl_log_store_get_last_messages (TplLogStore *self, TpAccount *account, +GList *tpl_log_store_get_recent_messages (TplLogStore *self, TpAccount *account, const gchar *chat_id, gboolean chatroom); GList *tpl_log_store_get_chats (TplLogStore *self, TpAccount *account); GList *tpl_log_store_search_in_identifier_chats_new (TplLogStore *self, |