Merge pull request #1420 from betheg/fix_1419

remove the from attribute from sendStartStream() fixes #1419
This commit is contained in:
Daniel Gultsch 2015-09-19 17:23:29 +02:00
commit 7453f2ca9a

View File

@ -913,7 +913,6 @@ public class XmppConnection implements Runnable {
private void sendStartStream() throws IOException {
final Tag stream = Tag.start("stream:stream");
stream.setAttribute("from", account.getJid().toBareJid().toString());
stream.setAttribute("to", account.getServer().toString());
stream.setAttribute("version", "1.0");
stream.setAttribute("xml:lang", "en");