- Set<String> members = g.members;
- members.remove(this.username);
- sendMessage(message, members);
+
+ // Don't send group message to ourself
+ final List<String> membersSend = new ArrayList<>(g.members);
+ membersSend.remove(this.username);
+ sendMessage(message, membersSend);