Mercurial > pidgin.yaz
diff libpurple/protocols/mxit/profile.c @ 31941:ff2a8a839dbd
Extensions to the user profile.
author | andrew.victor@mxit.com |
---|---|
date | Tue, 22 Mar 2011 21:56:30 +0000 |
parents | 02b510d2d014 |
children | dde6f5770cd0 |
line wrap: on
line diff
--- a/libpurple/protocols/mxit/profile.c Mon Mar 21 21:07:47 2011 +0000 +++ b/libpurple/protocols/mxit/profile.c Tue Mar 22 21:56:30 2011 +0000 @@ -146,6 +146,11 @@ purple_notify_user_info_add_pair( info, _( "Last Name" ), profile->lastname ); purple_notify_user_info_add_pair( info, _( "Country" ), profile->regcountry ); + if ( strlen( profile->aboutme ) > 0 ) + purple_notify_user_info_add_pair( info, _( "About Me" ), profile->aboutme ); + if ( strlen( profile->whereami ) > 0 ) + purple_notify_user_info_add_pair( info, _( "Where I Live" ), profile->whereami ); + purple_notify_user_info_add_section_break( info ); if ( contact ) {