a tool for shared writing and social publishing

fix adding local comments

+5 -2
+5 -2
app/lish/[did]/[publication]/[rkey]/Interactions/Comments/CommentBox.tsx
··· 1 - import { UnicodeString } from "@atproto/api"; 1 + import { AtUri, UnicodeString } from "@atproto/api"; 2 2 import { autolink } from "components/Blocks/TextBlock/autolink-plugin"; 3 3 import { multiBlockSchema } from "components/Blocks/TextBlock/schema"; 4 4 import { PubLeafletRichtextFacet } from "lexicons/api"; ··· 196 196 { 197 197 record: comment.record, 198 198 uri: comment.uri, 199 - bsky_profiles: { record: comment.profile as Json }, 199 + bsky_profiles: { 200 + record: comment.profile as Json, 201 + did: new AtUri(comment.uri).host, 202 + }, 200 203 }, 201 204 ], 202 205 }));