The relatedTo field in RoomSendQueueUpdate.MediaUpload is a transaction id (#6002)

It was being incorrectly mapped to an event id.
This commit is contained in:
Jorge Martin Espinosa 2026-01-19 10:39:48 +01:00 committed by GitHub
parent 8e60d511aa
commit 2e353848f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -18,5 +18,5 @@ sealed interface SendQueueUpdate {
data class SendError(val transactionId: TransactionId) : SendQueueUpdate
data class RetrySendingEvent(val transactionId: TransactionId) : SendQueueUpdate
data class SentEvent(val transactionId: TransactionId, val eventId: EventId) : SendQueueUpdate
data class MediaUpload(val relatedTo: EventId, val file: MediaSource?, val index: Long, val progress: Float) : SendQueueUpdate
data class MediaUpload(val relatedTo: TransactionId, val file: MediaSource?, val index: Long, val progress: Float) : SendQueueUpdate
}