diff options
author | Simon Schampijer <simon@schampijer.de> | 2011-06-26 15:10:56 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@schampijer.de> | 2011-07-04 15:36:21 (GMT) |
commit | 0595cf12c17760d416bb6beba8ba26ed628441ed (patch) | |
tree | 5cc8e024df1cc1fc3f16835024786cf6a444318b | |
parent | 1e24382fe82c36959f56a308475d1c03dec56dd8 (diff) |
salut: when nick changes update the friends view OLPC #10749
This is a follow up fix of a glitch not handled by ac626ff ("Fully
update the salut account information when the nick name changes").
Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-by: Sascha Silbe <silbe@activitycentral.com>
-rw-r--r-- | src/jarabe/model/friends.py | 2 |
1 files changed, 2 insertions, 0 deletions
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: |