Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3401462
D3163.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
882 B
Referenced Files
None
Subscribers
None
D3163.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D3163: [web] add last actively functionality so time is updated when chat or thread item in chat is updated
Attached
Detach File
Event Timeline
Log In to Comment