Page MenuHomePhabricator

D13918.id45773.diff
No OneTemporary

D13918.id45773.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, 12:27 PM (8 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2525665
Default Alt Text
D13918.id45773.diff (715 B)

Event Timeline