/pidgin/main: 185f05b59f3f: The MXit get_media_caps() should ret...
Andrew Victor
andrew.victor at mxit.com
Tue Dec 18 03:54:33 EST 2012
Changeset: 185f05b59f3f59960330c31ac89eb124ae3e64fd
Author: Andrew Victor <andrew.victor at mxit.com>
Date: 2012-12-18 10:49 +0200
Branch: mxit-2.x.y
URL: http://hg.pidgin.im/pidgin/main/rev/185f05b59f3f
Description:
The MXit get_media_caps() should return PURPLE_MEDIA_CAPS_NONE if the
contact is offline.
diffstat:
libpurple/protocols/mxit/voicevideo.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff --git a/libpurple/protocols/mxit/voicevideo.c b/libpurple/protocols/mxit/voicevideo.c
--- a/libpurple/protocols/mxit/voicevideo.c
+++ b/libpurple/protocols/mxit/voicevideo.c
@@ -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