Private
Public Access
1
0

generators: sometimes generate messages from me as well

This commit is contained in:
2025-04-30 19:46:09 -07:00
parent 1eb08ba464
commit bdf76ca725

View File

@@ -349,6 +349,11 @@ func randomParticipant(participants []string) *string {
}
}
if rand.Intn(2) == 0 {
// From me
return nil
}
return &participants[rand.Intn(len(participants))]
}