Page MenuHomePhabricator

D13918.id45767.diff
No OneTemporary

D13918.id45767.diff

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;
+ },
});

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 22, 2:20 AM (4 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2525665
Default Alt Text
D13918.id45767.diff (715 B)

Event Timeline