Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3332846
D13918.id45767.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
715 B
Referenced Files
None
Subscribers
None
D13918.id45767.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 22, 2:20 AM (19 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2525665
Default Alt Text
D13918.id45767.diff (715 B)
Attached To
Mode
D13918: [lib] Reactions only bump thread timestamps when reacting to viewer
Attached
Detach File
Event Timeline
Log In to Comment