Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3498462
D6594.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D6594.diff
View Options
diff --git a/native/chat/chat-thread-list-item.react.js b/native/chat/chat-thread-list-item.react.js
--- a/native/chat/chat-thread-list-item.react.js
+++ b/native/chat/chat-thread-list-item.react.js
@@ -7,6 +7,7 @@
import type { ThreadInfo } from 'lib/types/thread-types';
import type { UserInfo } from 'lib/types/user-types';
import { shortAbsoluteDate } from 'lib/utils/date-utils';
+import { useResolvedThreadInfo } from 'lib/utils/entity-helpers';
import Button from '../components/button.react';
import ColorSplotch from '../components/color-splotch.react';
@@ -114,6 +115,8 @@
styles.unreadLastActivity,
]);
+ const resolvedThreadInfo = useResolvedThreadInfo(data.threadInfo);
+
return (
<>
<SwipeableThread
@@ -141,7 +144,7 @@
<ThreadAncestorsLabel threadInfo={data.threadInfo} />
<View style={styles.row}>
<SingleLine style={threadNameStyle}>
- {data.threadInfo.uiName}
+ {resolvedThreadInfo.uiName}
</SingleLine>
</View>
<View style={styles.row}>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 9:16 PM (17 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2683146
Default Alt Text
D6594.diff (1 KB)
Attached To
Mode
D6594: [native] Fetch ENS names in ChatThreadListItem
Attached
Detach File
Event Timeline
Log In to Comment