Commit 967e0aea authored by Anno van Vliet's avatar Anno van Vliet Committed by Guus der Kinderen

Affiliation contains a bareJID, so comparing on full JIDs results in

npe.
parent 2782c8fb
......@@ -81,7 +81,7 @@
if(affiliateComp != 0) {
return affiliateComp;
} else {
return affiliate1.getJID().toFullJID().toLowerCase().compareTo(affiliate2.getJID().toFullJID().toLowerCase());
return affiliate1.getJID().compareTo(affiliate2.getJID());
}
}
......
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