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");
 | 
					        Element x = new Element("x");
 | 
				
			||||||
        x.setAttribute("xmlns", "http://jabber.org/protocol/muc#user");
 | 
					        x.setAttribute("xmlns", "http://jabber.org/protocol/muc#user");
 | 
				
			||||||
        Element invite = new Element("invite");
 | 
					        Element invite = new Element("invite");
 | 
				
			||||||
        invite.setAttribute("to", contact.asBareJid().toString());
 | 
					        invite.setAttribute("to", contact.asBareJid());
 | 
				
			||||||
        x.addChild(invite);
 | 
					        x.addChild(invite);
 | 
				
			||||||
        packet.addChild(x);
 | 
					        packet.addChild(x);
 | 
				
			||||||
        return packet;
 | 
					        return packet;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user