Commit fcc55409 authored by Dave Cridland's avatar Dave Cridland

Quick fix for old-skool Jabber on S2S

parent a60eefe2
......@@ -674,7 +674,8 @@ public class ServerDialback {
for (int eventType = xpp.getEventType(); eventType != XmlPullParser.START_TAG;) {
eventType = xpp.next();
}
if (xpp.getAttributeValue("", "version").equals("1.0")) {
if ((xpp.getAttributeValue("", "version") != null) &&
(xpp.getAttributeValue("", "version").equals("1.0"))) {
Document doc;
try {
doc = reader.parseDocument();
......
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