its for when you want to get like notifications for your reposts

feat: send post uri in notification contents too

ptr.pet 9024c18f bb8f5096

verified
Changed files
+2
server
+2
server/main.go
···
Liked bool `json:"liked"`
ByDid syntax.DID `json:"did"`
RepostURI syntax.ATURI `json:"repost_uri"`
+
PostURI syntax.ATURI `json:"post_uri"`
}
type SubscriberMessage struct {
···
Liked: !deleted,
ByDid: byDid,
RepostURI: repostURI,
+
PostURI: syntax.ATURI(like.Subject.Uri),
}
if err := sd.Conn.WriteJSON(notification); err != nil {