mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-04 16:25:06 -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) {
|
public IqPacket discoResponse(IqPacket request) {
|
||||||
IqPacket packet = new IqPacket(IqPacket.TYPE_RESULT);
|
IqPacket packet = new IqPacket(IqPacket.TYPE_RESULT);
|
||||||
packet.setId(request.getId());
|
packet.setId(request.getId());
|
||||||
packet.setAttribute("to", request.getFrom());
|
packet.setTo(request.getFrom());
|
||||||
Element query = packet.addChild("query",
|
Element query = packet.addChild("query",
|
||||||
"http://jabber.org/protocol/disco#info");
|
"http://jabber.org/protocol/disco#info");
|
||||||
query.setAttribute("node", request.query().getAttribute("node"));
|
query.setAttribute("node", request.query().getAttribute("node"));
|
||||||
|
Loading…
Reference in New Issue
Block a user