pidgin.mxit: 335b9225: Returning wrong value here.

andrew.victor at mxit.com andrew.victor at mxit.com
Sat Aug 13 11:11:10 EDT 2011


----------------------------------------------------------------------
Revision: 335b92252f3e64385ecc93d3a4178817afdf6467
Parent:   d2f394a684e78504cf7389cc0830dd90bd056f25
Author:   andrew.victor at mxit.com
Date:     08/13/11 09:13:19
Branch:   im.pidgin.pidgin.mxit
URL: http://d.pidgin.im/viewmtn/revision/info/335b92252f3e64385ecc93d3a4178817afdf6467

Changelog: 

Returning wrong value here.


Changes against parent d2f394a684e78504cf7389cc0830dd90bd056f25

  patched  libpurple/protocols/mxit/voicevideo.c

-------------- next part --------------
============================================================
--- libpurple/protocols/mxit/voicevideo.c	1a2a7c574cd0c2dc118c539067cc5f4622c2e844
+++ libpurple/protocols/mxit/voicevideo.c	cc45d420d931abc446d23fb2a3990b129a3a79b6
@@ -95,7 +95,7 @@ PurpleMediaCaps mxit_media_caps(PurpleAc
 
 	/* 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)


More information about the Commits mailing list