mirror of
https://github.com/chatmail/core.git
synced 2026-04-05 23:22:11 +03:00
Remove unnecessary getattr
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user