aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-message.c
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2011-02-26 06:38:26 +0800
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2011-03-01 03:39:10 +0800
commitd4e5ce709bf78e014c1006f1f1e648f58b474b76 (patch)
tree708ef4d018ba306ca5d5da6598e9e5de1fcf2b16 /libempathy/empathy-message.c
parente30adf5d90786cc1145828f304a0857f03fe562c (diff)
downloadgsoc2013-empathy-d4e5ce709bf78e014c1006f1f1e648f58b474b76.tar
gsoc2013-empathy-d4e5ce709bf78e014c1006f1f1e648f58b474b76.tar.gz
gsoc2013-empathy-d4e5ce709bf78e014c1006f1f1e648f58b474b76.tar.bz2
gsoc2013-empathy-d4e5ce709bf78e014c1006f1f1e648f58b474b76.tar.lz
gsoc2013-empathy-d4e5ce709bf78e014c1006f1f1e648f58b474b76.tar.xz
gsoc2013-empathy-d4e5ce709bf78e014c1006f1f1e648f58b474b76.tar.zst
gsoc2013-empathy-d4e5ce709bf78e014c1006f1f1e648f58b474b76.zip
Add support for message type to support /me
Diffstat (limited to 'libempathy/empathy-message.c')
-rw-r--r--libempathy/empathy-message.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy/empathy-message.c b/libempathy/empathy-message.c
index e194573db..65ea2ae40 100644
--- a/libempathy/empathy-message.c
+++ b/libempathy/empathy-message.c
@@ -318,6 +318,8 @@ empathy_message_from_tpl_log_event (TplEvent *logevent)
empathy_message_set_timestamp (retval,
tpl_event_get_timestamp (logevent));
+ empathy_message_set_tptype (retval,
+ tpl_text_event_get_message_type (TPL_TEXT_EVENT (logevent)));
empathy_message_set_is_backlog (retval, TRUE);
g_free (body);