Tue, 18 Dec 2012 10:49:11 +0200
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)