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