We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21caf87 commit 9f0d106Copy full SHA for 9f0d106
deltachat-rpc-client/src/deltachat_rpc_client/account.py
@@ -125,6 +125,11 @@ def add_or_update_transport(self, params):
125
"""Add a new transport."""
126
yield self._rpc.add_or_update_transport.future(self.id, params)
127
128
+ @futuremethod
129
+ def add_transport_from_qr(self, qr: str):
130
+ """Add a new transport using a QR code."""
131
+ yield self._rpc.add_transport_from_qr.future(self.id, qr)
132
+
133
@futuremethod
134
def list_transports(self):
135
"""Return the list of all email accounts that are used as a transport in the current profile."""
0 commit comments