changed command paramater for new push server
This commit is contained in:
parent
9ef2d32a3e
commit
5ef7c29264
|
@ -383,7 +383,7 @@ public class IqGenerator extends AbstractGenerator {
|
||||||
IqPacket packet = new IqPacket(IqPacket.TYPE.SET);
|
IqPacket packet = new IqPacket(IqPacket.TYPE.SET);
|
||||||
packet.setTo(appServer);
|
packet.setTo(appServer);
|
||||||
Element command = packet.addChild("command", "http://jabber.org/protocol/commands");
|
Element command = packet.addChild("command", "http://jabber.org/protocol/commands");
|
||||||
command.setAttribute("node","register-push-gcm");
|
command.setAttribute("node","register-push-fcm");
|
||||||
command.setAttribute("action","execute");
|
command.setAttribute("action","execute");
|
||||||
Data data = new Data();
|
Data data = new Data();
|
||||||
data.put("token", token);
|
data.put("token", token);
|
||||||
|
|
Loading…
Reference in a new issue