Skip to content

Commit 8e9e540

Browse files
VelikovPetarclaude
andauthored
Fix messages not being sent after attachment upload completes in background (#6324)
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 4bb2eb4 commit 8e9e540

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

stream-chat-android-client/src/main/java/io/getstream/chat/android/client/attachment/worker/UploadAttachmentsWorker.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ public class UploadAttachmentsWorker(
8787

8888
return if (!hasPendingAttachment) {
8989
logger.d { "[sendAttachments] #uploader; message ${message.id} doesn't have pending attachments" }
90+
AttachmentsUploadStates.updateMessageAttachments(message)
9091
Result.Success(Unit)
9192
} else {
9293
val attachments = uploadAttachments(message)

0 commit comments

Comments
 (0)