1
0

Docstring tweaks

This commit is contained in:
Olivier 'reivilibre
2025-12-12 17:47:36 +00:00
parent aea25954fc
commit e9773ffd99
2 changed files with 6 additions and 2 deletions

View File

@@ -347,7 +347,9 @@ class DelayedEventsHandler:
If None, the timestamp will be the actual time when the event is sent.
content: The content of the event to be sent.
delay: How long (in milliseconds) to wait before automatically sending the event.
sticky_duration_ms: The sticky duration if any, see MSC4354.
sticky_duration_ms: If an MSC4354 sticky event: the sticky duration (in milliseconds).
The event will be attempted to be reliably delivered to clients and remote servers
during its sticky period.
Returns: The ID of the added delayed event.
Raises:

View File

@@ -770,7 +770,9 @@ class StickyEventsStreamRow:
"""Stream to inform workers about changes to sticky events."""
room_id: str
event_id: str # The sticky event ID
event_id: str
"""The sticky event ID"""
class StickyEventsStream(_StreamFromIdGen):