Changeset 76c89dc7 for protocols/msn/msn.c
- Timestamp:
- 2010-12-12T00:25:17Z (13 years ago)
- Branches:
- master
- Children:
- 8eec79d
- Parents:
- c775a58
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/msn.c
rc775a58 r76c89dc7 108 108 } 109 109 110 g_free( md->profile_rid ); 111 110 112 g_tree_destroy( md->domaintree ); 111 113 md->domaintree = NULL; … … 322 324 struct msn_data *md = ic->proto_data; 323 325 324 if( strlen( value ) > 129 )325 {326 imcb_log( ic, "Maximum name length exceeded" );327 return NULL;328 }329 330 if( md->flags & MSN_GOT_PROFILE_DN )331 imcb_log( ic, "Warning: Persistent name changes for this account have to be done "332 "in the profile. BitlBee doesn't currently support this." );333 334 326 if( md->flags & MSN_EMAIL_UNVERIFIED ) 335 327 imcb_log( ic, "Warning: Your e-mail address is unverified. MSN doesn't allow " 336 328 "changing your display name until your e-mail address is verified." ); 337 329 338 msn_soap_addressbook_set_display_name( ic, value ); 330 if( md->flags & MSN_GOT_PROFILE_DN ) 331 msn_soap_profile_set_dn( ic, value ); 332 else 333 msn_soap_addressbook_set_display_name( ic, value ); 334 339 335 return msn_ns_set_display_name( ic, value ) ? value : NULL; 340 336 } … … 363 359 364 360 ret->name = "msn"; 365 361 ret->mms = 1409; /* this guess taken from libotr UPGRADING file */ 366 362 ret->login = msn_login; 367 363 ret->init = msn_init;
Note: See TracChangeset
for help on using the changeset viewer.