From: <vi...@us...> - 2008-05-28 18:23:28
|
Revision: 10048 http://amsn.svn.sourceforge.net/amsn/?rev=10048&view=rev Author: vivia Date: 2008-05-28 11:23:34 -0700 (Wed, 28 May 2008) Log Message: ----------- P15: Correctly updating abook on the server when people change their nicknames Modified Paths: -------------- trunk/amsn/protocol.tcl Modified: trunk/amsn/protocol.tcl =================================================================== --- trunk/amsn/protocol.tcl 2008-05-28 18:18:28 UTC (rev 10047) +++ trunk/amsn/protocol.tcl 2008-05-28 18:23:34 UTC (rev 10048) @@ -5635,6 +5635,11 @@ if { [::abook::getContactData $user contactguid] != "" } { ::MSN::WriteSB ns "SBP" "[::abook::getContactData $user contactguid] MFN [urlencode $user_name]" } + } else { + # Update the contact's nickname in the server's abook as well + if { [::abook::getContactData $user contactguid] != "" } { + $::ab ABContactUpdate [list ::MSN::ABUpdateNicknameCB] $user [list displayName [xmlencode $user_name]] DisplayName + } } ::log::eventnick $user $user_name This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |