summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-23 14:51:25 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-23 14:51:28 +0200
commit91078223d074e3a6227940190667805ce94eb8b1 (patch)
treef7e059523f355cf474746172fcd431992d250f3a
parent2329f706b417d22b853fa94bd7406190dbb1a5e8 (diff)
on_received_signal_with_contact_cb: no need to set the remote contact
In the 1-1 case we already set it when preparing the channel so this was never called.
-rw-r--r--telepathy-logger/channel-text.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/telepathy-logger/channel-text.c b/telepathy-logger/channel-text.c
index 4bd15d0dd..c863c1f3e 100644
--- a/telepathy-logger/channel-text.c
+++ b/telepathy-logger/channel-text.c
@@ -1208,7 +1208,6 @@ on_received_signal_with_contact_cb (TpConnection *connection,
GObject *weak_object)
{
TplEntryText *log = user_data;
- TplChannelText *self = TPL_CHANNEL_TEXT (weak_object);
TplChannelText *tpl_text;
TpContact *remote;
@@ -1238,9 +1237,6 @@ on_received_signal_with_contact_cb (TpConnection *connection,
remote = contacts[0];
- if (!self->priv->chatroom)
- _tpl_channel_text_set_remote_contact (tpl_text, remote);
-
keepon_on_receiving_signal (log, remote);
}