Show dates in edit history modal

This commit is contained in:
Josh Perez 2023-06-26 18:45:56 -04:00 committed by GitHub
parent 9c6fb29edb
commit 8507afd0e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 54 additions and 35 deletions

View file

@ -39,7 +39,7 @@ export function SmartEditHistoryMessagesModal(): JSX.Element {
return messagesAttributes.map(messageAttributes => ({
...messagePropsSelector(messageAttributes as MessageAttributesType),
// Make sure the messages don't get an "edited" badge
editHistory: undefined,
isEditedMessage: false,
// Do not show the same reactions in the message history UI
reactions: undefined,
}));