We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55e613b commit d45595cCopy full SHA for d45595c
synapse/storage/databases/main/delayed_events.py
@@ -429,6 +429,13 @@ async def cancel_delayed_state_events(
429
"""
430
Cancels all matching delayed state events, i.e. remove them as long as they haven't been processed.
431
432
+ Args:
433
+ room_id: The room ID to match against.
434
+ event_type: The event type to match against.
435
+ state_key: The state key to match against.
436
+ not_from_localpart: The localpart of a user whose delayed events to not cancel.
437
+ If set to the empty string, any users' delayed events may be cancelled.
438
+
439
Returns: The send time of the next delayed event to be sent, if any.
440
441
0 commit comments