diff --git a/plugins/platforms/matrix/voice_mention.py b/plugins/platforms/matrix/voice_mention.py index 0ec3cf71a6..cf7da914cb 100644 --- a/plugins/platforms/matrix/voice_mention.py +++ b/plugins/platforms/matrix/voice_mention.py @@ -15,7 +15,9 @@ from typing import Dict, List, Optional, Tuple CLAIM_WINDOW_SECONDS = 120.0 # How long a bare mention waits for a voice from the same /sync batch that is still being gated. SETTLE_TIMEOUT_SECONDS = 5.0 -# Voices a sender can have parked per room at once (oldest dropped beyond this). +# Voices a sender can have parked per room at once (oldest by arrival dropped beyond this). Known +# limit: if more than this many newer voices park while a bare mention is still settling, the +# older voice it was owed is dropped and the mention is answered as text, as on main. MAX_PARKED_PER_SENDER = 4 # (voice event_id, content, relates_to)