pidgin.mxit: 98e69959: The contact-flag indicating "hidden" is ...

andrew.victor at mxit.com andrew.victor at mxit.com
Fri Aug 12 18:50:51 EDT 2011


----------------------------------------------------------------------
Revision: 98e69959e827695b8b3f7d824274dedf9d363032
Parent:   a9337c3d612b991e199658fa5e890aadade91f04
Author:   andrew.victor at mxit.com
Date:     08/12/11 18:34:34
Branch:   im.pidgin.pidgin.mxit
URL: http://d.pidgin.im/viewmtn/revision/info/98e69959e827695b8b3f7d824274dedf9d363032

Changelog: 

The contact-flag indicating "hidden" is now deprecated.


Changes against parent a9337c3d612b991e199658fa5e890aadade91f04

  patched  libpurple/protocols/mxit/mxit.c
  patched  libpurple/protocols/mxit/profile.c
  patched  libpurple/protocols/mxit/roster.h

-------------- next part --------------
============================================================
--- libpurple/protocols/mxit/mxit.c	b660deeda7df58796113402de0bcf3d4465d11c2
+++ libpurple/protocols/mxit/mxit.c	670231af387c6cfb68e2fde64ebbc76b7600ae02
@@ -358,10 +358,6 @@ static void mxit_tooltip( PurpleBuddy* b
 	/* 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" ) );
 }
 
 
============================================================
--- libpurple/protocols/mxit/profile.c	ccfd30e7e5da09e35101d56835b08f301bb655a7
+++ libpurple/protocols/mxit/profile.c	9459504e534978fe9d2242db9d8b64d0377146ad
@@ -215,9 +215,6 @@ void mxit_show_profile( struct MXitSessi
 
 		/* 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 */
============================================================
--- libpurple/protocols/mxit/roster.h	a9b2de660f9a942ad3b2e288ac9b2cd3ab8a2673
+++ libpurple/protocols/mxit/roster.h	62eaa6b6fd687caa44015cb312bd473180729c08
@@ -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
 


More information about the Commits mailing list