--- a/libpurple/protocols/mxit/markup.c Mon Dec 10 10:33:46 2012 -0500 +++ b/libpurple/protocols/mxit/markup.c Tue Dec 18 14:58:49 2012 +0200 @@ -59,7 +59,9 @@ }; -#define MXIT_VIBE_MSG_COLOR "#9933FF" +#define MXIT_VIBE_MSG_COLOR "#9933FF" +#define MXIT_FAREWELL_MSG_COLOR "#949494" + /* vibes */ static const char* vibes[] = { @@ -994,6 +996,12 @@ break; } } + + if ( msgflags & CP_MSG_FAREWELL ) { + /* this is a farewell message */ + g_string_prepend( mx->msg, "<font color=\""MXIT_FAREWELL_MSG_COLOR"\"><i>" ); + g_string_append( mx->msg, "</i></font>" ); + } }