From 25df14707e21585a6f0d4f543e33d232b5850cd7 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sun, 9 Mar 2025 22:52:06 +0000 Subject: [PATCH] api(deltachat-rpc-client): add Account.device_contact --- deltachat-rpc-client/src/deltachat_rpc_client/account.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deltachat-rpc-client/src/deltachat_rpc_client/account.py b/deltachat-rpc-client/src/deltachat_rpc_client/account.py index 5c2395be3..a3d073e69 100644 --- a/deltachat-rpc-client/src/deltachat_rpc_client/account.py +++ b/deltachat-rpc-client/src/deltachat_rpc_client/account.py @@ -205,6 +205,11 @@ class Account: """This account's identity as a Contact.""" return Contact(self, SpecialContactId.SELF) + @property + def device_contact(self) -> Chat: + """This account's device contact.""" + return Contact(self, SpecialContactId.DEVICE) + def get_chatlist( self, query: Optional[str] = None,