mirror of
https://github.com/chatmail/core.git
synced 2026-05-17 05:46: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."""
|
"""This account's identity as a Contact."""
|
||||||
return Contact(self, SpecialContactId.SELF)
|
return Contact(self, SpecialContactId.SELF)
|
||||||
|
|
||||||
|
@property
|
||||||
|
def device_contact(self) -> Chat:
|
||||||
|
"""This account's device contact."""
|
||||||
|
return Contact(self, SpecialContactId.DEVICE)
|
||||||
|
|
||||||
def get_chatlist(
|
def get_chatlist(
|
||||||
self,
|
self,
|
||||||
query: Optional[str] = None,
|
query: Optional[str] = None,
|
||||||
|
|||||||
Reference in New Issue
Block a user