#10749 HIGH 11.2.0-: salut: mission control account information is not updated when changing the nick name

Zarro Boogs per Child bugtracker at laptop.org
Tue Jun 7 12:44:20 EDT 2011


#10749: salut: mission control account information is not updated when changing the
nick name
------------------------------+---------------------------------------------
           Reporter:  erikos  |       Owner:  erikos                           
               Type:  defect  |      Status:  new                              
           Priority:  high    |   Milestone:  11.2.0-M4                        
          Component:  sugar   |     Version:  Development build as of this date
         Resolution:          |    Keywords:  collaboration                    
        Next_action:  code    |    Verified:  0                                
Deployment_affected:          |   Blockedby:                                   
           Blocking:          |  
------------------------------+---------------------------------------------
Changes (by erikos):

  * next_action:  diagnose => code


Comment:

 {{{
 diff --git a/src/jarabe/model/friends.py b/src/jarabe/model/friends.py
 index 7f50c1e..7605af1 100644
 --- a/src/jarabe/model/friends.py
 +++ b/src/jarabe/model/friends.py
 @@ -61,6 +61,8 @@ class FriendBuddyModel(BuddyModel):
          self.notify('color')
          self.notify('present')

 +        if buddy.nick != self.nick:
 +            self.nick = buddy.nick
          if buddy.contact_id != self.contact_id:
              self.contact_id = buddy.contact_id
          if buddy.account != self.account:
 }}}

 Looks like the above does it. Will test a bit more.

-- 
Ticket URL: <http://dev.laptop.org/ticket/10749#comment:9>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list