Skip to content
Snippets Groups Projects
  • Patrick Cloke's avatar
    d748bbc8
    Include thread information when sending receipts over federation. (#14466) · d748bbc8
    Patrick Cloke authored
    Include the thread_id field when sending read receipts over
    federation. This might result in the same user having multiple
    read receipts per-room, meaning multiple EDUs must be sent
    to encapsulate those receipts.
    
    This restructures the PerDestinationQueue APIs to support
    multiple receipt EDUs, queue_read_receipt now becomes linear
    time in the number of queued threaded receipts in the room for
    the given user, it is expected this is a small number since receipt
    EDUs are sent as filler in transactions.
    Include thread information when sending receipts over federation. (#14466)
    Patrick Cloke authored
    Include the thread_id field when sending read receipts over
    federation. This might result in the same user having multiple
    read receipts per-room, meaning multiple EDUs must be sent
    to encapsulate those receipts.
    
    This restructures the PerDestinationQueue APIs to support
    multiple receipt EDUs, queue_read_receipt now becomes linear
    time in the number of queued threaded receipts in the room for
    the given user, it is expected this is a small number since receipt
    EDUs are sent as filler in transactions.