this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

remove some debug code

-6
-6
handler.go
··· 51 51 return nil 52 52 } 53 53 54 - if event.Did == myDid { 55 - slog.Info("event from my did", "event", event.Commit.Record) 56 - } 57 - 58 54 var post apibsky.FeedPost 59 55 if err := json.Unmarshal(event.Commit.Record, &post); err != nil { 60 56 // ignore this ··· 91 87 slog.Error("parsing createdAt time from post", "error", err, "timestamp", post.CreatedAt) 92 88 createdAt = time.Now().UTC() 93 89 } 94 - 95 - slog.Info("created at", "time stamp", createdAt, "original time stamp", post.CreatedAt) 96 90 97 91 replyPostURI := fmt.Sprintf("at://%s/app.bsky.feed.post/%s", event.Did, event.Commit.RKey) 98 92 h.createFeedPostForSubscribedUsers(subscribedDids, replyPostURI, subscribedPostURI, createdAt.UnixMilli())