diff --git a/python/src/deltachat/account.py b/python/src/deltachat/account.py index 31804e4ce..5f8e39bf9 100644 --- a/python/src/deltachat/account.py +++ b/python/src/deltachat/account.py @@ -404,7 +404,7 @@ class Account(object): arr = array("i") for msg in messages: if isinstance(msg, Message): - arr.append(getattr(msg, "id")) + arr.append(msg.id) else: arr.append(msg) msg_ids = ffi.cast("uint32_t*", ffi.from_buffer(arr))