Mercurial > pidgin.yaz
comparison libpurple/protocols/mxit/protocol.c @ 30419:207662bad69c
* Show the buddy's registration country in their profile.
* We cannot see the buddy's current "hidden number" setting in their profile,
so we need to use the value they had set when they invited us.
author | andrew.victor@mxit.com |
---|---|
date | Wed, 19 May 2010 20:29:31 +0000 |
parents | 4232e6b27bea |
children | 5622de6b7b8d |
comparison
equal
deleted
inserted
replaced
30418:26e4c9dcb1e1 | 30419:207662bad69c |
---|---|
1644 g_strlcpy( profile->email, fvalue, sizeof( profile->email ) ); | 1644 g_strlcpy( profile->email, fvalue, sizeof( profile->email ) ); |
1645 } | 1645 } |
1646 else if ( strcmp( CP_PROFILE_MOBILENR, fname ) == 0 ) { | 1646 else if ( strcmp( CP_PROFILE_MOBILENR, fname ) == 0 ) { |
1647 /* mobile number */ | 1647 /* mobile number */ |
1648 g_strlcpy( profile->mobilenr, fvalue, sizeof( profile->mobilenr ) ); | 1648 g_strlcpy( profile->mobilenr, fvalue, sizeof( profile->mobilenr ) ); |
1649 } | |
1650 else if ( strcmp( CP_PROFILE_REGCOUNTRY, fname ) == 0 ) { | |
1651 /* registered country */ | |
1652 g_strlcpy( profile->regcountry, fvalue, sizeof( profile->regcountry ) ); | |
1649 } | 1653 } |
1650 else { | 1654 else { |
1651 /* invalid profile attribute */ | 1655 /* invalid profile attribute */ |
1652 purple_debug_error( MXIT_PLUGIN_ID, "Invalid profile attribute received '%s' \n", fname ); | 1656 purple_debug_error( MXIT_PLUGIN_ID, "Invalid profile attribute received '%s' \n", fname ); |
1653 } | 1657 } |