summaryrefslogtreecommitdiff
path: root/telepathy-logger/text-channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'telepathy-logger/text-channel.c')
-rw-r--r--telepathy-logger/text-channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/telepathy-logger/text-channel.c b/telepathy-logger/text-channel.c
index 546bce4..67c0671 100644
--- a/telepathy-logger/text-channel.c
+++ b/telepathy-logger/text-channel.c
@@ -53,7 +53,7 @@ static void
get_my_contact (TplTextChannel *self)
{
TpChannel *chan = TP_CHANNEL (self);
- TpConnection *tp_conn = tp_channel_borrow_connection (chan);
+ TpConnection *tp_conn = tp_channel_get_connection (chan);
TpContact *my_contact;
my_contact = tp_channel_group_get_self_contact (chan);