1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-18 21:02:04 +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:
Matt Tucker 2003-10-03 00:47:45 +00:00 committed by mtucker
parent 7423a62429
commit fbaf772bc8

View file

@ -293,6 +293,10 @@ class PacketReader {
connectionIDLock.notifyAll(); 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);
}
} }
} }
} }