Set jid to passed parameter, not null

Setting `jid` to `null` was probably not the intended behaviour of this constructor and means that the `IQReplyFilter` will later reject responses that it shouldn't, because the `AbstractXmppConnection` will automatically construct a JID based on the authenticated username.

In particular, this breaks attempting to connect to the PVP.net XMPP server.
This commit is contained in:
Luke GB 2014-08-23 17:24:53 +01:00 committed by Florian Schmaus
parent 229e526f6d
commit 659714c2be
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ public class Bind extends IQ {
public Bind(String resource, String jid) {
this.resource = resource;
this.jid = null;
this.jid = jid;
}
public String getResource() {