m.room_key_request
responses are prioritised above regular m.room_key
messages
#24681
Labels
A-E2EE
A-Performance
O-Occasional
Affects or can be seen by some users regularly or most users rarely
S-Minor
Impairs non-critical functionality or suitable workarounds exist
T-Defect
If an
m.room_key_request
arrives while we are still sending out the originalm.room_key
messages, then we prioritise its response abovem.room_key
messages and send it out in its own/sendToDevice
request. (Regularm.room_key
messages go via a queue in theCryptoStore
; responses tom.room_key_request
are not queued in this way.)This ends up delaying transmission of room keys for everyone who hasn't yet barged to the front of the queue with an
m.room_key_request
, exacerbating the problem.See also #24680.
The text was updated successfully, but these errors were encountered: