From b1f0d40d4423b93cbf4d0ed2d24bf3010ca8cca3 Mon Sep 17 00:00:00 2001 From: AsamK Date: Tue, 28 Jun 2016 00:14:15 +0200 Subject: [PATCH] Fix creating groups Fixes #16 --- src/main/java/org/asamk/signal/Manager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/asamk/signal/Manager.java b/src/main/java/org/asamk/signal/Manager.java index 29e75ee9..d96537fe 100644 --- a/src/main/java/org/asamk/signal/Manager.java +++ b/src/main/java/org/asamk/signal/Manager.java @@ -555,7 +555,7 @@ class Manager implements Signal { .asGroupMessage(group.build()) .build(); - final Set membersSend = g.members; + final List membersSend = new ArrayList<>(g.members); membersSend.remove(this.username); sendMessage(message, membersSend); return g.groupId;