mirror of
https://github.com/chatmail/core.git
synced 2026-04-27 18:36:30 +03:00
api(deltachat-rpc-client): add Account.device_contact
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user