this repo has no description
0
fork

Configure Feed

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

fakedata: fix bug with maxMutes == 0

+1 -1
+1 -1
fakedata/generators.go
··· 326 326 327 327 // only muting other users, not celebs 328 328 muteCount := 0 329 - if maxFollows >= 1 { 329 + if maxFollows >= 1 && maxMutes > 0 { 330 330 muteCount = rand.Intn(maxMutes) 331 331 } 332 332 t2 := MeasureIterations("generate mutes")