identicons basic support

This commit is contained in:
ingvar1995 2018-05-16 20:25:21 +03:00
parent f3aa0aeda3
commit c0a143c817
9 changed files with 36 additions and 14 deletions

View file

@ -136,8 +136,8 @@ class Profile(basecontact.BaseContact):
self._call.stop()
del self._call
def reset_avatar(self):
super().reset_avatar()
def reset_avatar(self, generate_new):
super().reset_avatar(generate_new)
for friend in filter(lambda x: x.status is not None, self._contacts):
self.send_avatar(friend.number)