mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-25 20:18:00 +01:00
Don't set service name to 'from' value
from initial stream open. SMACK-643
This commit is contained in:
parent
5ad70ac380
commit
f55f9f7828
1 changed files with 0 additions and 4 deletions
|
@ -215,10 +215,6 @@ class PacketReader {
|
||||||
// Save the connectionID
|
// Save the connectionID
|
||||||
connection.connectionID = parser.getAttributeValue(i);
|
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));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue