diff --git a/deltachat-rpc-client/src/deltachat_rpc_client/account.py b/deltachat-rpc-client/src/deltachat_rpc_client/account.py index 2dfb7236c..e65246c98 100644 --- a/deltachat-rpc-client/src/deltachat_rpc_client/account.py +++ b/deltachat-rpc-client/src/deltachat_rpc_client/account.py @@ -295,6 +295,12 @@ class Account: if event["kind"] == "SecurejoinJoinerProgress" and event["progress"] == 1000: break + def wait_for_reactions_changed(self): + while True: + event = self.wait_for_event() + if event.kind == EventType.REACTIONS_CHANGED: + return event + def get_fresh_messages_in_arrival_order(self) -> List[Message]: """Return fresh messages list sorted in the order of their arrival, with ascending IDs.""" warn(