Fix friending somebody for real this time

This commit is contained in:
Dan Williams 2007-04-13 14:20:05 -04:00
parent 02900bbfbb
commit 559c75a317

View File

@ -47,8 +47,8 @@ class Friends(gobject.GObject):
self.emit('friend-added', buddy_info)
def make_friend(self, buddy):
if not self.has_buddy(buddy):
self.add_friend(BuddyModel(buddy=buddy))
if not self.has_buddy(buddy):
self.add_friend(buddy)
self.save()
def remove(self, buddy_info):