mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-23 04:57:58 +01:00
Use host value from server (SMACK-94).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2128 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
7423a62429
commit
fbaf772bc8
1 changed files with 4 additions and 0 deletions
|
@ -293,6 +293,10 @@ class PacketReader {
|
|||
connectionIDLock.notifyAll();
|
||||
}
|
||||
}
|
||||
else if (parser.getAttributeName(i).equals("from")) {
|
||||
// Use the server name that the server says that it is.
|
||||
connection.host = parser.getAttributeValue(i);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue