1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-24 11:38:00 +01:00

Don't set service name to 'from' value

from initial stream open.

SMACK-643
This commit is contained in:
Florian Schmaus 2015-02-19 22:05:42 +01:00
parent 5ad70ac380
commit f55f9f7828

View file

@ -215,10 +215,6 @@ class PacketReader {
// Save the connectionID
connection.connectionID = parser.getAttributeValue(i);
}
else if (parser.getAttributeName(i).equals("from")) {
// Use the server name that the server says that it is.
connection.setServiceName(parser.getAttributeValue(i));
}
}
}
}