aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorMichael <betheg@bitcloner.org>2014-11-21 19:37:50 +0100
committerMichael <betheg@bitcloner.org>2014-11-21 19:37:50 +0100
commitfebbefefa5c1008398d35fcbe6d6e235da37c24e (patch)
tree9132a1be7137fce6b6b2045a4559b2d486540595 /src/main
parent424de3ea3a0100ae722ca2b2498c171078320cdb (diff)
MUC: set from when join muc.
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/eu/siacs/conversations/services/XmppConnectionService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java
index 9abff2818..6958a062c 100644
--- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java
+++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java
@@ -1273,6 +1273,7 @@ public class XmppConnectionService extends Service {
String nick = conversation.getMucOptions().getProposedNick();
Jid joinJid = conversation.getMucOptions().createJoinJid(nick);
PresencePacket packet = new PresencePacket();
+ packet.setFrom(conversation.getAccount().getJid());
packet.setTo(joinJid);
Element x = new Element("x");
x.setAttribute("xmlns", "http://jabber.org/protocol/muc");