···66 "fmt"
77 "log"
88 "log/slog"
99+ "strings"
910 "sync"
1011 "time"
1112···9091 defer h.mu.Unlock()
91929293 // look for posts where I've "subsribed" so that we can add the parent URI to a list of replies to that parent to look for
9393- if post.Text == "/subscribe" && event.Did == "did:plc:dadhhalkfcq3gucaq25hjqon" {
9494- slog.Info("it's a reply with a parent! Adding to parents to look for", "parent URI", post.Reply.Parent.Uri)
9494+ if strings.Contains(post.Text, "/subscribe") && event.Did == "did:plc:dadhhalkfcq3gucaq25hjqon" {
9595+ slog.Info("a post that's subscribing to a parent. Adding to parents to look for", "parent URI", post.Reply.Parent.Uri)
9596 h.parentsToLookFor[post.Reply.Parent.Uri] = struct{}{}
9697 return nil
9798 }