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
1 changed files with 1 additions and 1 deletions

View File

@ -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);