aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/xmpp
diff options
context:
space:
mode:
authorMichael <betheg@bitcloner.org>2015-09-19 15:58:33 +0200
committerMichael <betheg@bitcloner.org>2015-09-19 15:58:33 +0200
commit8f69017d5af399b990f51b23a1171cec45cd45cf (patch)
treee98d9ba8c9d79a3222f5a52d257b67f19cd0030e /src/main/java/eu/siacs/conversations/xmpp
parentb54b4ca78a85055292ea54b5acfaaec25c43f412 (diff)
remove the from attribute from sendStartStream() fixes #1419
Diffstat (limited to 'src/main/java/eu/siacs/conversations/xmpp')
-rw-r--r--src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java b/src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java
index 870f50d5d..655b5744f 100644
--- a/src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java
+++ b/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");