diff options
Diffstat (limited to 'libempathy/empathy-tp-chat.c')
-rw-r--r-- | libempathy/empathy-tp-chat.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c index 17ddf2701..1d5b43cb6 100644 --- a/libempathy/empathy-tp-chat.c +++ b/libempathy/empathy-tp-chat.c @@ -1972,3 +1972,13 @@ empathy_tp_chat_is_sms_channel (EmpathyTpChat *self) return priv->sms_channel; } + +EmpathyContact * +empathy_tp_chat_get_self_contact (EmpathyTpChat *self) +{ + EmpathyTpChatPriv *priv = GET_PRIV (self); + + g_return_val_if_fail (EMPATHY_IS_TP_CHAT (self), NULL); + + return priv->user; +} |