diff --git a/deltachat-rpc-client/src/deltachat_rpc_client/account.py b/deltachat-rpc-client/src/deltachat_rpc_client/account.py index 8308291cc..7ed1743f6 100644 --- a/deltachat-rpc-client/src/deltachat_rpc_client/account.py +++ b/deltachat-rpc-client/src/deltachat_rpc_client/account.py @@ -133,6 +133,10 @@ class Account: """Delete a transport.""" self._rpc.delete_transport(self.id, addr) + def set_transport_unpublished(self, addr: str, unpublished: bool = True): + """Unpublish the transport.""" + self._rpc.set_transport_unpublished(self.id, addr, unpublished) + @futuremethod def list_transports(self): """Return the list of all email accounts that are used as a transport in the current profile."""