diff --git a/lib/selectors/chat-selectors.js b/lib/selectors/chat-selectors.js --- a/lib/selectors/chat-selectors.js +++ b/lib/selectors/chat-selectors.js @@ -401,6 +401,7 @@ const newText = targetMessageEditMap.get(messageInfo.id); if (newText !== undefined) { messageInfo.text = newText; + messageInfo.hasBeenEdited = true; } } diff --git a/lib/types/messages/text.js b/lib/types/messages/text.js --- a/lib/types/messages/text.js +++ b/lib/types/messages/text.js @@ -29,4 +29,5 @@ +creator: RelativeUserInfo, +time: number, // millisecond timestamp text: string, + hasBeenEdited?: boolean, };