aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-message.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-05-27 19:44:35 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-18 23:18:02 +0800
commit210388d6821d72dacd55063ad805857a27c14e3f (patch)
tree5f63bbf1372ac884ca939bdd41e90faa12ca0645 /libempathy/empathy-message.c
parentb0eb7b2baf39cd5a509668bc53e5e34d70cb255d (diff)
downloadgsoc2013-empathy-210388d6821d72dacd55063ad805857a27c14e3f.tar
gsoc2013-empathy-210388d6821d72dacd55063ad805857a27c14e3f.tar.gz
gsoc2013-empathy-210388d6821d72dacd55063ad805857a27c14e3f.tar.bz2
gsoc2013-empathy-210388d6821d72dacd55063ad805857a27c14e3f.tar.lz
gsoc2013-empathy-210388d6821d72dacd55063ad805857a27c14e3f.tar.xz
gsoc2013-empathy-210388d6821d72dacd55063ad805857a27c14e3f.tar.zst
gsoc2013-empathy-210388d6821d72dacd55063ad805857a27c14e3f.zip
port to latest tp-logger API
Diffstat (limited to 'libempathy/empathy-message.c')
-rw-r--r--libempathy/empathy-message.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libempathy/empathy-message.c b/libempathy/empathy-message.c
index 85d5cbc58..b3234d348 100644
--- a/libempathy/empathy-message.c
+++ b/libempathy/empathy-message.c
@@ -302,8 +302,8 @@ empathy_message_from_tpl_log_entry (TplLogEntry *logentry)
body = g_strdup (tpl_log_entry_text_get_message (
TPL_LOG_ENTRY_TEXT (logentry)));
- receiver = tpl_log_entry_text_get_receiver (TPL_LOG_ENTRY_TEXT (logentry));
- sender = tpl_log_entry_text_get_sender (TPL_LOG_ENTRY_TEXT (logentry));
+ receiver = tpl_log_entry_get_receiver (logentry);
+ sender = tpl_log_entry_get_sender (logentry);
retval = empathy_message_new (body);
if (receiver != NULL)
@@ -316,7 +316,7 @@ empathy_message_from_tpl_log_entry (TplLogEntry *logentry)
empathy_message_set_timestamp (retval,
tpl_log_entry_get_timestamp (logentry));
empathy_message_set_id (retval,
- tpl_log_entry_text_get_log_id (TPL_LOG_ENTRY_TEXT (logentry)));
+ tpl_log_entry_get_pending_msg_id (logentry));
empathy_message_set_is_backlog (retval, FALSE);
g_free (body);