Chats: normalize chat messages again so attachments don't break

This commit is contained in:
Alex Gleason
2022-11-02 14:23:39 -05:00
parent 9802257751
commit 4d9f7fec32
2 changed files with 4 additions and 3 deletions

View File

@ -15,13 +15,13 @@ export const ChatMessageRecord = ImmutableRecord({
card: null as Card | null,
chat_id: '',
content: '',
created_at: new Date(),
created_at: '',
emojis: ImmutableList<Emoji>(),
id: '',
unread: false,
deleting: false,
pending: false,
pending: false as boolean | undefined,
});
const normalizeMedia = (status: ImmutableMap<string, any>) => {