~amsn-daily/amsn/amsn-packaging

« back to all changes in this revision

Viewing changes to protocol.tcl

  • Committer: vivia
  • Date: 2010-07-30 12:52:27 UTC
  • Revision ID: svn-v4:f248a3e1-9e13-0410-b2cf-a4429de6d898:trunk/amsn:12103
If ABFindAll or FindMembership fails, just use cached CL data and show a message. Just need to re-test this with MSN servers working, although it really should still work :)

Show diffs side-by-side

added added

removed removed

Lines of Context:
7132
7132
 
7133
7133
 
7134
7134
proc ::MSN::ABSynchronizationDone { initial error } {
7135
 
        if {$error == 0 } {
 
7135
        if {$error != -2 } {
 
7136
                if {$error != 0} {
 
7137
                        ::amsn::errorMsg "[trans abookerror]"
 
7138
                }
7136
7139
                ::MSN::contactListChanged
7137
7140
 
7138
7141
                set contacts [::MSN::getList FL]
7218
7221
        } elseif {$error == 2 } {
7219
7222
                #ABDoesNotExist
7220
7223
                $::ab ABAdd ::MSN::ABAddDone [::config::getKey login]
7221
 
        } else {
7222
 
                ::MSN::logout
7223
 
                ::amsn::errorMsg "[trans internalerror]"                
7224
7224
        }
7225
7225
}
7226
7226