From ce67f6901ba26b589345a8cdea110878bf6861c6 Mon Sep 17 00:00:00 2001 From: Arnaud Maillet Date: Fri, 29 May 2009 15:18:52 +0200 Subject: Add the method empathy_contact_can_stream_tubes in the empathy-tp-contact-factory --- libempathy/empathy-contact.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'libempathy/empathy-contact.c') diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c index eac087e2e..a08c629ee 100644 --- a/libempathy/empathy-contact.c +++ b/libempathy/empathy-contact.c @@ -814,6 +814,18 @@ empathy_contact_can_send_files (EmpathyContact *contact) return priv->capabilities & EMPATHY_CAPABILITIES_FT; } +gboolean +empathy_contact_can_use_stream_tube (EmpathyContact *contact) +{ + EmpathyContactPriv *priv; + + g_return_val_if_fail (EMPATHY_IS_CONTACT (contact), FALSE); + + priv = GET_PRIV (contact); + + return priv->capabilities & EMPATHY_CAPABILITIES_STREAM_TUBE; +} + static gchar * contact_get_avatar_filename (EmpathyContact *contact, const gchar *token) -- cgit v1.2.3