mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-29 17:52:06 +01:00
Return the group if it exists in Roster.createGroup()
This commit is contained in:
parent
a46d02ca32
commit
c3f9ec4f94
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue