From febbefefa5c1008398d35fcbe6d6e235da37c24e Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 21 Nov 2014 19:37:50 +0100 Subject: MUC: set from when join muc. --- src/main/java/eu/siacs/conversations/services/XmppConnectionService.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/eu') diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java index 9abff281..6958a062 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"); -- cgit v1.2.3