Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3180213
D12702.id42183.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
913 B
Referenced Files
None
Subscribers
None
D12702.id42183.diff
View Options
diff --git a/keyserver/src/creators/farcaster-channel-tag-creator.js b/keyserver/src/creators/farcaster-channel-tag-creator.js
--- a/keyserver/src/creators/farcaster-channel-tag-creator.js
+++ b/keyserver/src/creators/farcaster-channel-tag-creator.js
@@ -27,6 +27,7 @@
} from '../services/blob.js';
import { Viewer } from '../session/viewer.js';
import { thisKeyserverID } from '../user/identity.js';
+import { getAndAssertKeyserverURLFacts } from '../utils/urls.js';
async function createOrUpdateFarcasterChannelTag(
viewer: Viewer,
@@ -148,9 +149,13 @@
farcasterChannelID: string,
holder: string,
): Promise<BlobOperationResult> {
+ const { baseDomain, basePath } = getAndAssertKeyserverURLFacts();
+ const keyserverURL = baseDomain + basePath;
+
const payload = {
commCommunityID,
farcasterChannelID,
+ keyserverURL,
};
const payloadString = JSON.stringify(payload);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 9, 4:23 AM (19 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2448593
Default Alt Text
D12702.id42183.diff (913 B)
Attached To
Mode
D12702: [keyserver] include keyserver url in the farcaster channel tag blob
Attached
Detach File
Event Timeline
Log In to Comment