mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
refine example and make Contact accept Account object
This commit is contained in:
@@ -363,7 +363,7 @@ class Chat(object):
|
||||
lib.dc_array_unref
|
||||
)
|
||||
return list(iter_array(
|
||||
dc_array, lambda id: Contact(self._dc_context, id))
|
||||
dc_array, lambda id: Contact(self.account, id))
|
||||
)
|
||||
|
||||
def set_profile_image(self, img_path):
|
||||
|
||||
Reference in New Issue
Block a user