fix: Bug - Video attachment on android gets sent in the message bubble above with no preview image
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user