comparison libpurple/protocols/mxit/profile.c @ 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 f5855edbadb2
children 207662bad69c
comparison
equal deleted inserted replaced
30417:1734ebbdb5cf 30418:26e4c9dcb1e1
123 purple_notify_user_info_add_pair( info, _( "Nick Name" ), profile->nickname ); 123 purple_notify_user_info_add_pair( info, _( "Nick Name" ), profile->nickname );
124 purple_notify_user_info_add_pair( info, _( "Birthday" ), profile->birthday ); 124 purple_notify_user_info_add_pair( info, _( "Birthday" ), profile->birthday );
125 purple_notify_user_info_add_pair( info, _( "Gender" ), profile->male ? _( "Male" ) : _( "Female" ) ); 125 purple_notify_user_info_add_pair( info, _( "Gender" ), profile->male ? _( "Male" ) : _( "Female" ) );
126 purple_notify_user_info_add_pair( info, _( "Hidden Number" ), profile->hidden ? _( "Yes" ) : _( "No" ) ); 126 purple_notify_user_info_add_pair( info, _( "Hidden Number" ), profile->hidden ? _( "Yes" ) : _( "No" ) );
127 127
128 purple_notify_user_info_add_section_break( info );
129
130 /* optional information */ 128 /* optional information */
131 purple_notify_user_info_add_pair( info, _( "Title" ), profile->title ); 129 // purple_notify_user_info_add_pair( info, _( "Title" ), profile->title );
132 purple_notify_user_info_add_pair( info, _( "First Name" ), profile->firstname ); 130 purple_notify_user_info_add_pair( info, _( "First Name" ), profile->firstname );
133 purple_notify_user_info_add_pair( info, _( "Last Name" ), profile->lastname ); 131 purple_notify_user_info_add_pair( info, _( "Last Name" ), profile->lastname );
134 purple_notify_user_info_add_pair( info, _( "Email" ), profile->email ); 132 // purple_notify_user_info_add_pair( info, _( "Email" ), profile->email );
135 133
136 purple_notify_user_info_add_section_break( info ); 134 purple_notify_user_info_add_section_break( info );
137 135
138 if ( contact ) { 136 if ( contact ) {
139 /* presence */ 137 /* presence */