add correct object

pull/53/head
Zlatin Balevsky 2020-11-03 22:41:03 +00:00
parent 1af12e3743
commit 718d8a6f88
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ class Messenger {
Set<Persona> successful = new HashSet<>()
for (Persona recipient : message.recipients) {
if (deliverTo(message, recipient))
successful.add(message)
successful.add(recipient)
}
if (successful.containsAll(message.recipients)) {
synchronized(this) {