mirror of
https://github.com/chatmail/core.git
synced 2026-10-02 03:00:40 +03:00
api: add JSON-RPC API is_sending_finished()
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user