aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-contact.c
diff options
context:
space:
mode:
authorArnaud Maillet <arnaud.maillet@collabora.co.uk>2009-05-29 21:18:52 +0800
committerArnaud Maillet <arnaud.maillet@collabora.co.uk>2009-06-01 20:17:35 +0800
commitce67f6901ba26b589345a8cdea110878bf6861c6 (patch)
tree8f8eaa4d7aff3e1d4e3fb3a0e7cc6d07ff2d2b25 /libempathy/empathy-contact.c
parent221b3c1a7620e02b02ac9b5dd1a04be05b81db31 (diff)
downloadgsoc2013-empathy-ce67f6901ba26b589345a8cdea110878bf6861c6.tar
gsoc2013-empathy-ce67f6901ba26b589345a8cdea110878bf6861c6.tar.gz
gsoc2013-empathy-ce67f6901ba26b589345a8cdea110878bf6861c6.tar.bz2
gsoc2013-empathy-ce67f6901ba26b589345a8cdea110878bf6861c6.tar.lz
gsoc2013-empathy-ce67f6901ba26b589345a8cdea110878bf6861c6.tar.xz
gsoc2013-empathy-ce67f6901ba26b589345a8cdea110878bf6861c6.tar.zst
gsoc2013-empathy-ce67f6901ba26b589345a8cdea110878bf6861c6.zip
Add the method empathy_contact_can_stream_tubes in the empathy-tp-contact-factory
Diffstat (limited to 'libempathy/empathy-contact.c')
-rw-r--r--libempathy/empathy-contact.c12
1 files changed, 12 insertions, 0 deletions
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)