1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-26 08:12:05 +01:00

Return the group if it exists in Roster.createGroup()

This commit is contained in:
Florian Schmaus 2014-03-17 19:21:20 +01:00
parent a46d02ca32
commit c3f9ec4f94

View file

@ -265,7 +265,7 @@ public class Roster {
throw new IllegalStateException("Anonymous users can't have a roster.");
}
if (groups.containsKey(name)) {
return null;
return groups.get(name);
}
RosterGroup group = new RosterGroup(name, connection);