aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-03-05 18:31:12 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-03-05 18:31:12 +0800
commita7112593ab7be0dd2895834f06afe9bd47578fca (patch)
tree5245edc48b9c52251511fd8f9984c8b75417265d /libempathy
parent5e703194a2a344b4d131249c323570c4230a4ac8 (diff)
downloadgsoc2013-empathy-a7112593ab7be0dd2895834f06afe9bd47578fca.tar
gsoc2013-empathy-a7112593ab7be0dd2895834f06afe9bd47578fca.tar.gz
gsoc2013-empathy-a7112593ab7be0dd2895834f06afe9bd47578fca.tar.bz2
gsoc2013-empathy-a7112593ab7be0dd2895834f06afe9bd47578fca.tar.lz
gsoc2013-empathy-a7112593ab7be0dd2895834f06afe9bd47578fca.tar.xz
gsoc2013-empathy-a7112593ab7be0dd2895834f06afe9bd47578fca.tar.zst
gsoc2013-empathy-a7112593ab7be0dd2895834f06afe9bd47578fca.zip
Remove EMPATHY_CAPABILITIES_UNKNOWN flag when setting capabilities
svn path=/trunk/; revision=699
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-contact-factory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-contact-factory.c b/libempathy/empathy-tp-contact-factory.c
index 6b033834d..4621ba394 100644
--- a/libempathy/empathy-tp-contact-factory.c
+++ b/libempathy/empathy-tp-contact-factory.c
@@ -503,6 +503,7 @@ tp_contact_factory_update_capabilities (EmpathyTpContactFactory *tp_factory,
}
capabilities = empathy_contact_get_capabilities (contact);
+ capabilities &= ~EMPATHY_CAPABILITIES_UNKNOWN;
if (strcmp (channel_type, TP_IFACE_CHANNEL_TYPE_STREAMED_MEDIA) == 0) {
capabilities &= ~EMPATHY_CAPABILITIES_AUDIO;