fixed: make export/import work with blob-files again

also add some more logging.
This commit is contained in:
holger krekel
2019-07-03 20:02:05 +02:00
parent 191d11e719
commit adcb9d6069
4 changed files with 22 additions and 0 deletions

View File

@@ -189,6 +189,7 @@ class Account(object):
:param contact: chat_id (int) or contact object.
:returns: a :class:`deltachat.chatting.Chat` object.
"""
assert contact._dc_context == self._dc_context
contact_id = getattr(contact, "id", contact)
assert isinstance(contact_id, int)
chat_id = lib.dc_create_chat_by_contact_id(