Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3347989
D13919.id45772.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D13919.id45772.diff
View Options
diff --git a/lib/shared/messages/add-members-message-spec.js b/lib/shared/messages/add-members-message-spec.js
--- a/lib/shared/messages/add-members-message-spec.js
+++ b/lib/shared/messages/add-members-message-spec.js
@@ -231,4 +231,9 @@
messageInfo: AddMembersMessageInfo,
params: ShowInMessagePreviewParams,
) => threadTypeIsThick(params.threadInfo.type),
+
+ getLastUpdatedTime: (
+ messageInfo: AddMembersMessageInfo | RawAddMembersMessageInfo,
+ params: ShowInMessagePreviewParams,
+ ) => (threadTypeIsThick(params.threadInfo.type) ? messageInfo.time : null),
});
diff --git a/lib/shared/messages/join-thread-message-spec.js b/lib/shared/messages/join-thread-message-spec.js
--- a/lib/shared/messages/join-thread-message-spec.js
+++ b/lib/shared/messages/join-thread-message-spec.js
@@ -177,4 +177,9 @@
messageInfo: JoinThreadMessageInfo,
params: ShowInMessagePreviewParams,
) => threadTypeIsThick(params.threadInfo.type),
+
+ getLastUpdatedTime: (
+ messageInfo: JoinThreadMessageInfo | RawJoinThreadMessageInfo,
+ params: ShowInMessagePreviewParams,
+ ) => (threadTypeIsThick(params.threadInfo.type) ? messageInfo.time : null),
});
diff --git a/lib/shared/messages/leave-thread-message-spec.js b/lib/shared/messages/leave-thread-message-spec.js
--- a/lib/shared/messages/leave-thread-message-spec.js
+++ b/lib/shared/messages/leave-thread-message-spec.js
@@ -177,4 +177,9 @@
messageInfo: LeaveThreadMessageInfo,
params: ShowInMessagePreviewParams,
) => threadTypeIsThick(params.threadInfo.type),
+
+ getLastUpdatedTime: (
+ messageInfo: LeaveThreadMessageInfo | RawLeaveThreadMessageInfo,
+ params: ShowInMessagePreviewParams,
+ ) => (threadTypeIsThick(params.threadInfo.type) ? messageInfo.time : null),
});
diff --git a/lib/shared/messages/remove-members-message-spec.js b/lib/shared/messages/remove-members-message-spec.js
--- a/lib/shared/messages/remove-members-message-spec.js
+++ b/lib/shared/messages/remove-members-message-spec.js
@@ -237,5 +237,10 @@
messageInfo: RemoveMembersMessageInfo,
params: ShowInMessagePreviewParams,
) => threadTypeIsThick(params.threadInfo.type),
+
+ getLastUpdatedTime: (
+ messageInfo: RemoveMembersMessageInfo | RawRemoveMembersMessageInfo,
+ params: ShowInMessagePreviewParams,
+ ) => (threadTypeIsThick(params.threadInfo.type) ? messageInfo.time : null),
},
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 1:38 PM (19 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2570940
Default Alt Text
D13919.id45772.diff (2 KB)
Attached To
Mode
D13919: [lib] Don't bump thin thread timestamp for membership robotext
Attached
Detach File
Event Timeline
Log In to Comment