Mercurial > pidgin.yaz
changeset 32338:66fa012633e9
The contact-flag indicating "hidden" is now deprecated.
author | andrew.victor@mxit.com |
---|---|
date | Fri, 12 Aug 2011 22:34:34 +0000 |
parents | 5cb66143ae2a |
children | 82ca1b879265 |
files | libpurple/protocols/mxit/mxit.c libpurple/protocols/mxit/profile.c libpurple/protocols/mxit/roster.h |
diffstat | 3 files changed, 1 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/mxit/mxit.c Fri Aug 12 21:41:34 2011 +0000 +++ b/libpurple/protocols/mxit/mxit.c Fri Aug 12 22:34:34 2011 +0000 @@ -358,10 +358,6 @@ /* rejection message */ if ( ( contact->subtype == MXIT_SUBTYPE_REJECTED ) && ( contact->msg != NULL ) ) purple_notify_user_info_add_pair( info, _( "Rejection Message" ), contact->msg ); - - /* hidden number */ - if ( contact->flags & MXIT_CFLAG_HIDDEN ) - purple_notify_user_info_add_pair( info, _( "Hidden Number" ), _( "Yes" ) ); }
--- a/libpurple/protocols/mxit/profile.c Fri Aug 12 21:41:34 2011 +0000 +++ b/libpurple/protocols/mxit/profile.c Fri Aug 12 22:34:34 2011 +0000 @@ -215,9 +215,6 @@ /* subscription type */ purple_notify_user_info_add_pair( info, _( "Subscription" ), mxit_convert_subtype_to_name( contact->subtype ) ); - - /* hidden number */ - purple_notify_user_info_add_pair( info, _( "Hidden Number" ), ( contact->flags & MXIT_CFLAG_HIDDEN ) ? _( "Yes" ) : _( "No" ) ); } else { /* this is an invite */
--- a/libpurple/protocols/mxit/roster.h Fri Aug 12 21:41:34 2011 +0000 +++ b/libpurple/protocols/mxit/roster.h Fri Aug 12 22:34:34 2011 +0000 @@ -74,7 +74,7 @@ /* MXit contact flags */ -#define MXIT_CFLAG_HIDDEN 0x02 +//#define MXIT_CFLAG_HIDDEN 0x02 /* (DEPRECATED) */ #define MXIT_CFLAG_GATEWAY 0x04 #define MXIT_CFLAG_FOCUS_SEND_BLANK 0x20000