diff --git a/deltachat-rpc-client/src/deltachat_rpc_client/account.py b/deltachat-rpc-client/src/deltachat_rpc_client/account.py index adcccc1dd..fd3f53dac 100644 --- a/deltachat-rpc-client/src/deltachat_rpc_client/account.py +++ b/deltachat-rpc-client/src/deltachat_rpc_client/account.py @@ -125,6 +125,11 @@ class Account: """Add a new transport.""" yield self._rpc.add_or_update_transport.future(self.id, params) + @futuremethod + def add_transport_from_qr(self, qr: str): + """Add a new transport using a QR code.""" + yield self._rpc.add_transport_from_qr.future(self.id, qr) + @futuremethod def list_transports(self): """Return the list of all email accounts that are used as a transport in the current profile."""