Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3328020
D13865.id45596.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
D13865.id45596.diff
View Options
diff --git a/keyserver/src/responders/farcaster-webhook-responders.js b/keyserver/src/responders/farcaster-webhook-responders.js
--- a/keyserver/src/responders/farcaster-webhook-responders.js
+++ b/keyserver/src/responders/farcaster-webhook-responders.js
@@ -48,7 +48,7 @@
async function createCastSidebar(
sidebarCastHash: string,
- channelName: ?string,
+ channelFarcasterID: ?string,
channelCommunityID: string,
taggerUserID: ?string,
): Promise<?NewThreadResponse> {
@@ -66,7 +66,9 @@
const warpcastLink = `https://warpcast.com/${castAuthor}/${sidebarCastHash}`;
const saidText = `[said](${warpcastLink})`;
- const channelText = channelName ? ` in channel ${channelName}` : '';
+ const channelText = channelFarcasterID
+ ? ` in channel /${channelFarcasterID}`
+ : '';
const messageText = `${castAuthor} ${saidText} "${castText}"${channelText}`;
@@ -289,7 +291,7 @@
const sidebarCastHash = parentHash ?? castHash;
const sidebarThreadResponse = await createCastSidebar(
sidebarCastHash,
- eventChannel?.name,
+ eventChannel?.id,
channelCommunityID,
taggerUserID,
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 21, 1:09 PM (5 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2553767
Default Alt Text
D13865.id45596.diff (1 KB)
Attached To
Mode
D13865: [keyserver] change channel text from channel name to slash channel id
Attached
Detach File
Event Timeline
Log In to Comment