libpurple/protocols/mxit/voicevideo.c

branch
release-2.x.y
changeset 33849
5ce3fe28942f
parent 33844
e8edfd4e26ae
child 33852
368feedc80cf
child 34507
979df20d7871
--- a/libpurple/protocols/mxit/voicevideo.c	Wed Apr 03 01:25:40 2013 +0200
+++ b/libpurple/protocols/mxit/voicevideo.c	Wed Apr 03 11:26:54 2013 +0200
@@ -96,7 +96,7 @@
 
 	/* and only when they're online */
 	if (contact->presence == MXIT_PRESENCE_OFFLINE)
-		return MXIT_PRESENCE_OFFLINE;
+		return PURPLE_MEDIA_CAPS_NONE;
 
 	/* they support voice-only */
 	if (contact->capabilities & MXIT_PFLAG_VOICE)

mercurial