api: add JSON-RPC API is_sending_finished()

This commit is contained in:
link2xt
2026-09-12 23:35:58 +00:00
committed by l
parent 0b2051cda4
commit 44387f5e58
5 changed files with 66 additions and 0 deletions
@@ -67,3 +67,7 @@ class DeltaChat:
def stop_sending_locations(self) -> None:
"""Stop sending locations to all chats."""
return self.rpc.stop_sending_locations()
def is_sending_finished(self) -> bool:
"""Return true if sending queues of all accounts are empty."""
return self.rpc.is_sending_finished()