Commit 82fccfec authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

Eww, nasty little typo/bug. Thanks Guus!

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@8212 b35dd754-fafc-0310-a699-88a17e54d16e
parent 8e4901a6
......@@ -198,7 +198,7 @@ public class OSCARSession extends TransportSession {
// Now, lets clean up any groups this contact should no longer be a member of.
for (BuddyItem buddy : buddies.values()) {
if (buddy.getScreenname().equalsIgnoreCase(contact)) {
if (buddy.getGroupId() == 0 && !grouplist.equals(DEFAULT_AIM_GROUP)) {
if (buddy.getGroupId() == 0 && !grouplist.contains(DEFAULT_AIM_GROUP)) {
// Ok this group is the "main group", but contact isn't in it.
Log.debug("Removing "+buddy+" from main group");
request(new DeleteItemsCmd(buddy.toSsiItem()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment