mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 17:52:17 -05:00
Add a packet JID place I missed...
This commit is contained in:
parent
f108fc5a5c
commit
864f319500
@ -19,7 +19,7 @@ public class IqGenerator extends AbstractGenerator {
|
||||
public IqPacket discoResponse(IqPacket request) {
|
||||
IqPacket packet = new IqPacket(IqPacket.TYPE_RESULT);
|
||||
packet.setId(request.getId());
|
||||
packet.setAttribute("to", request.getFrom());
|
||||
packet.setTo(request.getFrom());
|
||||
Element query = packet.addChild("query",
|
||||
"http://jabber.org/protocol/disco#info");
|
||||
query.setAttribute("node", request.query().getAttribute("node"));
|
||||
|
Loading…
Reference in New Issue
Block a user