Commit 2d62fc71 authored by Tom Evans's avatar Tom Evans Committed by tevans

[Bamboo #314] Remove references to 1.6 APIs in gojara plugin (Openfire uses Java 5)

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@13596 b35dd754-fafc-0310-a699-88a17e54d16e
parent 044349c3
......@@ -42,7 +42,7 @@ public class WhitelistProcessor extends AbstractRemoteRosterProcessor {
@Override
public void process(Packet packet, String subdomain, String to, String from) throws PacketRejectedException {
IQ myPacket = (IQ) packet;
if (myPacket.getType().equals(IQ.Type.result) && (from.isEmpty() || from.equals(_server.getServerInfo().getXMPPDomain()))) {
if (myPacket.getType().equals(IQ.Type.result) && (from.length() == 0 || from.equals(_server.getServerInfo().getXMPPDomain()))) {
Log.debug("Processing packet in Whitelistprocessor for " + to + "Packet: " + packet.toString());
Element root = myPacket.getChildElement();
......
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