Page MenuHomePhabricator

D13918.id45780.diff
No OneTemporary

D13918.id45780.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
Thu, Nov 21, 5:24 PM (13 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2525665
Default Alt Text
D13918.id45780.diff (715 B)

Event Timeline