this repo has no description

feat(mostliked): limit to posts and likes

+1 -3
+1 -3
cmd/mostliked/mostliked.go
··· 162 162 log.Println("error parsing appbsky.FeedLike") 163 163 continue 164 164 } 165 - } else { 166 - continue 167 165 } 168 166 169 167 draft := drafts.Get(like.Subject.Uri) ··· 201 199 } 202 200 203 201 func main() { 204 - conn, _, err := websocket.DefaultDialer.Dial("ws://localhost:6008/subscribe", nil) 202 + conn, _, err := websocket.DefaultDialer.Dial("ws://localhost:6008/subscribe?wantedCollections=app.bsky.feed.post&wantedCollections=app.bsky.feed.like", nil) 205 203 if err != nil { 206 204 log.Fatal("websocket connection error:", err) 207 205 }