changeset 31882:94b71f521edb

Returning wrong value here.
author andrew.victor@mxit.com
date Sat, 13 Aug 2011 13:13:19 +0000
parents 82ca1b879265
children 1346f7f65588
files libpurple/protocols/mxit/voicevideo.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/mxit/voicevideo.c	Fri Aug 12 22:44:39 2011 +0000
+++ b/libpurple/protocols/mxit/voicevideo.c	Sat Aug 13 13:13:19 2011 +0000
@@ -95,7 +95,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)