changeset 30418:26e4c9dcb1e1

For security reasons, MXit doens't allow you to see your buddies Email Address or Title. So remove those two fields from the "Buddy Information" page.
author andrew.victor@mxit.com
date Wed, 19 May 2010 19:50:36 +0000
parents 1734ebbdb5cf
children 207662bad69c
files libpurple/protocols/mxit/profile.c
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/mxit/profile.c	Wed May 19 19:34:49 2010 +0000
+++ b/libpurple/protocols/mxit/profile.c	Wed May 19 19:50:36 2010 +0000
@@ -125,13 +125,11 @@
 	purple_notify_user_info_add_pair( info, _( "Gender" ), profile->male ? _( "Male" ) : _( "Female" ) );
 	purple_notify_user_info_add_pair( info, _( "Hidden Number" ), profile->hidden ? _( "Yes" ) : _( "No" ) );
 
-	purple_notify_user_info_add_section_break( info );
-
 	/* optional information */
-	purple_notify_user_info_add_pair( info, _( "Title" ), profile->title );
+//	purple_notify_user_info_add_pair( info, _( "Title" ), profile->title );
 	purple_notify_user_info_add_pair( info, _( "First Name" ), profile->firstname );
 	purple_notify_user_info_add_pair( info, _( "Last Name" ), profile->lastname );
-	purple_notify_user_info_add_pair( info, _( "Email" ), profile->email );
+//	purple_notify_user_info_add_pair( info, _( "Email" ), profile->email );
 
 	purple_notify_user_info_add_section_break( info );