Skip to content

Commit 25df147

Browse files
committed
api(deltachat-rpc-client): add Account.device_contact
1 parent 2667290 commit 25df147

File tree

1 file changed

+5
-0
lines changed
  • deltachat-rpc-client/src/deltachat_rpc_client

1 file changed

+5
-0
lines changed

deltachat-rpc-client/src/deltachat_rpc_client/account.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,11 @@ def self_contact(self) -> Contact:
205205
"""This account's identity as a Contact."""
206206
return Contact(self, SpecialContactId.SELF)
207207

208+
@property
209+
def device_contact(self) -> Chat:
210+
"""This account's device contact."""
211+
return Contact(self, SpecialContactId.DEVICE)
212+
208213
def get_chatlist(
209214
self,
210215
query: Optional[str] = None,

0 commit comments

Comments
 (0)