this repo has no description

remove reply labeling

Changed files
+13 -14
+13 -14
handle_post.go
··· 9 9 "github.com/bluesky-social/indigo/api/bsky" 10 10 "github.com/bluesky-social/jetstream/pkg/models" 11 11 "github.com/haileyok/dontshowmethis/sets" 12 - "github.com/redis/go-redis/v9" 13 12 ) 14 13 15 14 func uriFromEvent(evt *models.Event) string { ··· 74 73 } 75 74 } 76 75 77 - if post.Reply != nil { 78 - ism, err := dsmt.r.SIsMember(ctx, RedisPrefix+LabelPolLink, post.Reply.Root.Uri).Result() 79 - if err != nil && err != redis.Nil { 80 - return err 81 - } 82 - 83 - if ism { 84 - if err := dsmt.emitLabel(ctx, uriFromEvent(event), LabelPolLinkReply); err != nil { 85 - return err 86 - } 87 - return nil 88 - } 89 - } 76 + // if post.Reply != nil { 77 + // ism, err := dsmt.r.SIsMember(ctx, RedisPrefix+LabelPolLink, post.Reply.Root.Uri).Result() 78 + // if err != nil && err != redis.Nil { 79 + // return err 80 + // } 81 + // 82 + // if ism { 83 + // if err := dsmt.emitLabel(ctx, uriFromEvent(event), LabelPolLinkReply); err != nil { 84 + // return err 85 + // } 86 + // return nil 87 + // } 88 + // } 90 89 91 90 return nil 92 91 }