diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-06-15 19:19:43 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-06-15 19:19:43 +0200 |
commit | c1a395b1a4f034f5ccac63532ac8e9ca1c194a48 (patch) | |
tree | 34d64c3010e4ab79acb5dec4ef4534762734e4af | |
parent | b883e260f5431b12fee23ada666fbaa87c3ee0b1 (diff) |
set the right entity type on self entities
-rw-r--r-- | telepathy-logger/channel-text.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/telepathy-logger/channel-text.c b/telepathy-logger/channel-text.c index 79ca9f757..344f636d7 100644 --- a/telepathy-logger/channel-text.c +++ b/telepathy-logger/channel-text.c @@ -1132,7 +1132,7 @@ on_sent_signal_cb (TpChannel *proxy, /* Initialize data for TplEntity */ me = _tpl_channel_text_get_my_contact (tpl_text); tpl_entity_sender = _tpl_entity_from_tp_contact (me); - _tpl_entity_set_entity_type (tpl_entity_sender, TPL_ENTITY_CONTACT); + _tpl_entity_set_entity_type (tpl_entity_sender, TPL_ENTITY_SELF); if (!_tpl_channel_text_is_chatroom (tpl_text)) { @@ -1386,7 +1386,7 @@ on_received_signal_cb (TpChannel *proxy, me = _tpl_channel_text_get_my_contact (tpl_text); tpl_entity_receiver = _tpl_entity_from_tp_contact (me); - _tpl_entity_set_entity_type (tpl_entity_receiver, TPL_ENTITY_CONTACT); + _tpl_entity_set_entity_type (tpl_entity_receiver, TPL_ENTITY_SELF); _tpl_entry_set_receiver (log, tpl_entity_receiver); _tpl_entry_set_timestamp (log, (time_t) arg_Timestamp); |