generators: sometimes generate messages from me as well
This commit is contained in:
@@ -349,6 +349,11 @@ func randomParticipant(participants []string) *string {
|
||||
}
|
||||
}
|
||||
|
||||
if rand.Intn(2) == 0 {
|
||||
// From me
|
||||
return nil
|
||||
}
|
||||
|
||||
return &participants[rand.Intn(len(participants))]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user