Commit 76819e5d authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Fixed possible NPE.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@4262 b35dd754-fafc-0310-a699-88a17e54d16e
parent 7acbe206
......@@ -156,6 +156,9 @@ class PrivacyItem implements Cacheable, Comparable {
}
private boolean verifyJID(JID jid, Roster roster) {
if (jid == null) {
return false;
}
if (type == Type.jid) {
if (jidValue.getResource() != null) {
// Rule is filtering by exact resource match
......
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