mirror of
https://github.com/chatmail/core.git
synced 2026-04-25 01:16:29 +03:00
api(deltachat-rpc-client): add check_qr and set_config_from_qr APIs
This commit is contained in:
@@ -76,6 +76,12 @@ class Account:
|
||||
"""Get self avatar."""
|
||||
return self.get_config("selfavatar")
|
||||
|
||||
def check_qr(self, qr):
|
||||
return self._rpc.check_qr(self.id, qr)
|
||||
|
||||
def set_config_from_qr(self, qr: str):
|
||||
self._rpc.set_config_from_qr(self.id, qr)
|
||||
|
||||
@futuremethod
|
||||
def configure(self):
|
||||
"""Configure an account."""
|
||||
|
||||
Reference in New Issue
Block a user