The MXit get_media_caps() should return PURPLE_MEDIA_CAPS_NONE if the mxit-2.x.y

Tue, 18 Dec 2012 10:49:11 +0200

author
Andrew Victor <andrew.victor@mxit.com>
date
Tue, 18 Dec 2012 10:49:11 +0200
branch
mxit-2.x.y
changeset 33552
185f05b59f3f
parent 33551
03d90cde7ac7
child 33556
1fe2f250ff9e

The MXit get_media_caps() should return PURPLE_MEDIA_CAPS_NONE if the
contact is offline.

libpurple/protocols/mxit/voicevideo.c file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/mxit/voicevideo.c	Tue Dec 18 10:45:03 2012 +0200
+++ b/libpurple/protocols/mxit/voicevideo.c	Tue Dec 18 10:49:11 2012 +0200
@@ -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)

mercurial