Page MenuHomePhabricator

D3163.diff
No OneTemporary

D3163.diff

diff --git a/web/chat/chat-thread-list-item.react.js b/web/chat/chat-thread-list-item.react.js
--- a/web/chat/chat-thread-list-item.react.js
+++ b/web/chat/chat-thread-list-item.react.js
@@ -25,13 +25,16 @@
};
function ChatThreadListItem(props: Props): React.Node {
const { item, setModal } = props;
- const { threadInfo } = item;
+ const { threadInfo, lastUpdatedTimeIncludingSidebars } = item;
const threadID = item.threadInfo.id;
const ancestorThreads = useAncestorThreads(threadInfo);
const onClick = useOnClickThread(threadID);
const timeZone = useSelector(state => state.timeZone);
- const lastActivity = shortAbsoluteDate(item.lastUpdatedTime, timeZone);
+ const lastActivity = shortAbsoluteDate(
+ lastUpdatedTimeIncludingSidebars,
+ timeZone,
+ );
const active = useThreadIsActive(threadID);
const containerClassName = React.useMemo(

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 3, 12:19 PM (21 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2611645
Default Alt Text
D3163.diff (882 B)

Event Timeline