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

Configure Feed

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

fix: dont put duplicate dids in follow stream did filter

dusk 75169318 eea4e683

+6 -2
+6 -2
main.go
··· 72 72 ) 73 73 74 74 func getSubscriberDids() []string { 75 - dids := make([]string, 0, subscribers.Len()) 75 + _dids := make(Set[string], subscribers.Len()) 76 76 subscribers.Range(func(s string, sd *SubscriberData) bool { 77 - dids = append(dids, string(sd.SubscribedTo)) 77 + _dids[string(sd.SubscribedTo)] = struct{}{} 78 78 return true 79 79 }) 80 + dids := make([]string, 0, len(_dids)) 81 + for k := range _dids { 82 + dids = append(dids, k) 83 + } 80 84 return dids 81 85 } 82 86