MUC: set from when join muc.

This commit is contained in:
Michael 2014-11-21 19:37:50 +01:00
parent 424de3ea3a
commit febbefefa5
1 changed files with 1 additions and 0 deletions

View File

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