mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 17:19:39 +02:00
parent
d0be6a6216
commit
d8ce2d335b
1 changed files with 2 additions and 1 deletions
|
@ -203,7 +203,8 @@ public class XMPPBOSHConnection extends AbstractXMPPConnection {
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
XmlPullParser parser = PacketParserUtils.getParserFor("<stream:stream xmlns='jabber:client'/>");
|
XmlPullParser parser = PacketParserUtils.getParserFor(
|
||||||
|
"<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'/>");
|
||||||
onStreamOpen(parser);
|
onStreamOpen(parser);
|
||||||
} catch (XmlPullParserException | IOException e) {
|
} catch (XmlPullParserException | IOException e) {
|
||||||
throw new AssertionError("Failed to setup stream environment", e);
|
throw new AssertionError("Failed to setup stream environment", e);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue