mirror of
https://gitlab.silvrtree.co.uk/martind2000/SODashServer.git
synced 2025-02-10 21:09:15 +00:00
Apple Push notifications. Trying something else. again
This commit is contained in:
parent
3a74998f51
commit
ddb2290ad8
@ -81,6 +81,8 @@ var officeController = function(neweventbus) {
|
||||
logger.debug(this.todaysList);*/
|
||||
this.setupNextMeeting(todaysList);
|
||||
});
|
||||
|
||||
|
||||
this.mqtt = new mqttClient.mqttClient();
|
||||
|
||||
//This.timer;
|
||||
@ -122,6 +124,12 @@ var officeController = function(neweventbus) {
|
||||
this.announceMeetingEnd(meeting);
|
||||
|
||||
});
|
||||
|
||||
var timmy = setTimeout(function() {
|
||||
var now = new Date();
|
||||
|
||||
this.announceMeetingEnd({uid: 'bob', summary: 'Test message - ' + now.toISOString()});
|
||||
}.bind(this),60000);
|
||||
};
|
||||
|
||||
officeController.prototype.sendiOSAPN = function(packet) {
|
||||
@ -156,7 +164,7 @@ officeController.prototype.announceMeetingEnd = function(meeting) {
|
||||
dry_run: false
|
||||
});
|
||||
|
||||
this.sendiOSAPN(packet);
|
||||
this.sendiOSAPN(packet);
|
||||
|
||||
sender.sendMessage(message.toJSON(), '', true, function(err, data) {
|
||||
if (!err) {
|
||||
|
Loading…
Reference in New Issue
Block a user