Merge pull request #1420 from betheg/fix_1419

Daniel Gultsch created

remove the from attribute from sendStartStream() fixes #1419

Change summary

src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java | 1 -
1 file changed, 1 deletion(-)

Detailed changes

src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java 🔗

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