remove the from attribute from sendStartStream() fixes #1419

This commit is contained in:
Michael 2015-09-19 15:58:33 +02:00
parent b54b4ca78a
commit 8f69017d5a
1 changed files with 0 additions and 1 deletions

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");