# HG changeset patch # User andrew.victor@mxit.com # Date 1259075562 0 # Node ID cc391f752b0579fc442bb9770c34326a257efecd # Parent f261b4978ae4e5316fb778e100a25f3b55c84ca7 These status strings are accessed from mxit_convert_presence_to_name() for the Buddy List tooltip, so they cannot be NULL. diff -r f261b4978ae4 -r cc391f752b05 libpurple/protocols/mxit/formcmds.c --- a/libpurple/protocols/mxit/formcmds.c Tue Nov 24 13:38:25 2009 +0000 +++ b/libpurple/protocols/mxit/formcmds.c Tue Nov 24 15:12:42 2009 +0000 @@ -345,7 +345,6 @@ * @param message The message text * @return The length of the command */ -//void mxit_command_received(struct MXitSession* session, const char* from, char* message, time_t timestamp) int mxit_parse_command(struct RXMsgData* mx, char* message) { GHashTable* hash = NULL; diff -r f261b4978ae4 -r cc391f752b05 libpurple/protocols/mxit/markup.c --- a/libpurple/protocols/mxit/markup.c Tue Nov 24 13:38:25 2009 +0000 +++ b/libpurple/protocols/mxit/markup.c Tue Nov 24 15:12:42 2009 +0000 @@ -416,7 +416,6 @@ } else if ( mx->chatid < 0 ) { /* normal chat message */ - //serv_got_im( mx->session->con, mx->from, mx->msg->str, mx->flags, mx->timestamp ); mxit_show_split_message( mx ); } else { diff -r f261b4978ae4 -r cc391f752b05 libpurple/protocols/mxit/roster.c --- a/libpurple/protocols/mxit/roster.c Tue Nov 24 13:38:25 2009 +0000 +++ b/libpurple/protocols/mxit/roster.c Tue Nov 24 15:12:42 2009 +0000 @@ -53,11 +53,11 @@ const char* name; } const mxit_statuses[] = { /* primative, no, id, name */ - { PURPLE_STATUS_OFFLINE, MXIT_PRESENCE_OFFLINE, "offline", NULL }, /* 0 */ - { PURPLE_STATUS_AVAILABLE, MXIT_PRESENCE_ONLINE, "online", NULL }, /* 1 */ - { PURPLE_STATUS_AWAY, MXIT_PRESENCE_AWAY, "away", NULL }, /* 2 */ - { PURPLE_STATUS_AVAILABLE, MXIT_PRESENCE_AVAILABLE, "chat", N_( "Chatty" ) }, /* 3 */ - { PURPLE_STATUS_UNAVAILABLE, MXIT_PRESENCE_DND, "dnd", NULL } /* 4 */ + { PURPLE_STATUS_OFFLINE, MXIT_PRESENCE_OFFLINE, "offline", N_( "Offline" ) }, /* 0 */ + { PURPLE_STATUS_AVAILABLE, MXIT_PRESENCE_ONLINE, "online", N_( "Available" ) }, /* 1 */ + { PURPLE_STATUS_AWAY, MXIT_PRESENCE_AWAY, "away", N_( "Away" ) }, /* 2 */ + { PURPLE_STATUS_AVAILABLE, MXIT_PRESENCE_AVAILABLE, "chat", N_( "Chatty" ) }, /* 3 */ + { PURPLE_STATUS_UNAVAILABLE, MXIT_PRESENCE_DND, "dnd", N_( "Do Not Disturb" ) } /* 4 */ };