Commit 73312700 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

NPE fixed.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1521 b35dd754-fafc-0310-a699-88a17e54d16e
parent 4e644bcd
......@@ -359,7 +359,11 @@ public class PresenceUpdateHandler extends BasicModule implements ChannelHandler
// A service may receive presences for many JIDs so in this case we
// just need to remove the jid that has received a directed
// unavailable presence
map.get(handler).remove(jid);
Set<String> jids = map.get(handler);
if (jids != null) {
jids.remove(jid);
}
}
}
else {
......
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