mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-27 00:32:07 +01:00
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:
parent
229e526f6d
commit
659714c2be
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ public class Bind extends IQ {
|
||||||
|
|
||||||
public Bind(String resource, String jid) {
|
public Bind(String resource, String jid) {
|
||||||
this.resource = resource;
|
this.resource = resource;
|
||||||
this.jid = null;
|
this.jid = jid;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getResource() {
|
public String getResource() {
|
||||||
|
|
Loading…
Reference in a new issue