Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F31998278
D15514.1764950305.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D15514.1764950305.diff
View Options
diff --git a/lib/utils/create-farcaster-raw-thread-info.js b/lib/utils/create-farcaster-raw-thread-info.js
--- a/lib/utils/create-farcaster-raw-thread-info.js
+++ b/lib/utils/create-farcaster-raw-thread-info.js
@@ -21,7 +21,10 @@
farcasterThreadIDFromConversationID,
getFIDFromUserID,
} from '../shared/id-utils.js';
-import { stringForUserExplicit } from '../shared/user-utils.js';
+import {
+ ensNameForFarcasterUsername,
+ stringForUserExplicit,
+} from '../shared/user-utils.js';
import type { AuxUserStore } from '../types/aux-user-types.js';
import type { ClientAvatar } from '../types/avatar-types.js';
import type {
@@ -256,9 +259,10 @@
if (!conversation.isGroup) {
const otherUserName =
conversation.viewerContext.counterParty?.username ??
- conversation.viewerContext.counterParty?.displayName ??
- 'anonymous';
- name = otherUserName;
+ conversation.viewerContext.counterParty?.displayName;
+ name = otherUserName
+ ? ensNameForFarcasterUsername(otherUserName)
+ : 'anonymous';
}
const threadData: FarcasterThreadData = {
threadID,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 5, 3:58 PM (13 m, 58 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5828421
Default Alt Text
D15514.1764950305.diff (1 KB)
Attached To
Mode
D15514: [lib] Use proper suffix in 1:1 thread title
Attached
Detach File
Event Timeline
Log In to Comment