fix: Bug - Video attachment on android gets sent in the message bubble above with no preview image

This commit is contained in:
2026-06-11 02:44:22 +02:00
parent b1b3d93851
commit d72a027c9a
10 changed files with 315 additions and 25 deletions

View File

@@ -230,7 +230,7 @@ export class MessagesEffects {
this.store.select(selectCurrentRoom)
),
mergeMap(([
{ content, replyToId, channelId },
{ id, content, replyToId, channelId },
currentUser,
currentRoom
]) => {
@@ -239,7 +239,7 @@ export class MessagesEffects {
}
const draftMessage: Message = {
id: uuidv4(),
id: id ?? uuidv4(),
roomId: currentRoom.id,
channelId: channelId || 'general',
senderId: currentUser.id,