Fix friending somebody for real this time
This commit is contained in:
parent
02900bbfbb
commit
559c75a317
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user