tangled
alpha
login
or
join now
diffdown.com
/
diffdown-app
0
fork
atom
Diffdown is a real-time collaborative Markdown editor/previewer built on the AT Protocol
diffdown.com
0
fork
atom
overview
issues
10
pulls
pipelines
fix: correct DocumentURI filter format in ListComments
John Luther
3 weeks ago
0c061c03
283b1f74
+3
-1
1 changed file
expand all
collapse all
unified
split
internal
atproto
xrpc
client.go
+3
-1
internal/atproto/xrpc/client.go
reviewed
···
345
345
if err := json.Unmarshal(r.Value, &comment); err != nil {
346
346
continue
347
347
}
348
348
-
if documentRKey != "" && comment.DocumentURI != "diffdown://document/"+documentRKey {
348
348
+
// Filter by documentRKey: at://{did}/com.diffdown.document/{rkey}
349
349
+
expectedSuffix := "/com.diffdown.document/" + documentRKey
350
350
+
if documentRKey != "" && !strings.HasSuffix(comment.DocumentURI, expectedSuffix) {
349
351
continue
350
352
}
351
353
comment.URI = r.URI