Remove timestamp in notification because phone already show it in SMS log

pull/4558/head
Simon Nilsson 9 months ago
parent c34ec0dc91
commit 300c21d3ab

@ -125,13 +125,7 @@ class CellsyntMobileServices extends NotificationProvider {
}; };
try { try {
if (heartbeatJSON != null) { if (heartbeatJSON != null) {
var d = new Date(heartbeatJSON["time"]), msg = msg;
dformat = [d.getMonth()+1,
d.getDate(),
d.getFullYear()].join('/')+' '+
[d.getHours(),
d.getMinutes()].join(':');
msg = dformat+" - "+msg;
data.params.text = msg.replace(/[^\x00-\x7F]/g, ""); data.params.text = msg.replace(/[^\x00-\x7F]/g, "");
} }

Loading…
Cancel
Save