changed command paramater for new push server

This commit is contained in:
Daniel Gultsch 2018-05-16 11:29:06 +02:00
parent 9ef2d32a3e
commit 5ef7c29264

View file

@ -383,7 +383,7 @@ public class IqGenerator extends AbstractGenerator {
IqPacket packet = new IqPacket(IqPacket.TYPE.SET);
packet.setTo(appServer);
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");
Data data = new Data();
data.put("token", token);