use escaped jid for invites
This commit is contained in:
parent
574bccfc59
commit
de941f6036
|
@ -217,7 +217,7 @@ public class MessageGenerator extends AbstractGenerator {
|
|||
Element x = new Element("x");
|
||||
x.setAttribute("xmlns", "http://jabber.org/protocol/muc#user");
|
||||
Element invite = new Element("invite");
|
||||
invite.setAttribute("to", contact.asBareJid().toString());
|
||||
invite.setAttribute("to", contact.asBareJid());
|
||||
x.addChild(invite);
|
||||
packet.addChild(x);
|
||||
return packet;
|
||||
|
|
Loading…
Reference in a new issue