aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2015-09-19 17:23:29 +0200
committerDaniel Gultsch <daniel@gultsch.de>2015-09-19 17:23:29 +0200
commit7453f2ca9a03d46d436aa959065d09b94c5b814c (patch)
treee98d9ba8c9d79a3222f5a52d257b67f19cd0030e
parentb54b4ca78a85055292ea54b5acfaaec25c43f412 (diff)
parent8f69017d5af399b990f51b23a1171cec45cd45cf (diff)
Merge pull request #1420 from betheg/fix_1419
remove the from attribute from sendStartStream() fixes #1419
Diffstat (limited to '')
-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 870f50d5..655b5744 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");