From e5c920f1a19fa143a99849a48405ddf8fab5952e Mon Sep 17 00:00:00 2001 From: link2xt Date: Wed, 15 Jul 2026 14:22:30 +0000 Subject: [PATCH] api(deltachat-rpc-client): add Account.set_transport_unpublished() --- deltachat-rpc-client/src/deltachat_rpc_client/account.py | 4 ++++ 1 file changed, 4 insertions(+) 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."""