diff --git a/lib/shared/messages/reaction-message-spec.js b/lib/shared/messages/reaction-message-spec.js --- a/lib/shared/messages/reaction-message-spec.js +++ b/lib/shared/messages/reaction-message-spec.js @@ -239,4 +239,19 @@ } return originalMessage.creatorID === params.viewerID; }, + + getLastUpdatedTime: async ( + messageInfo: ReactionMessageInfo | RawReactionMessageInfo, + params: ShowInMessagePreviewParams, + ) => { + const originalMessage = await params.fetchMessage( + messageInfo.targetMessageID, + ); + if (!originalMessage) { + return null; + } + return originalMessage.creatorID === params.viewerID + ? messageInfo.time + : null; + }, });