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 {
if (heartbeatJSON != null) {
var d = new Date(heartbeatJSON["time"]),
dformat = [d.getMonth()+1,
d.getDate(),
d.getFullYear()].join('/')+' '+
[d.getHours(),
d.getMinutes()].join(':');
msg = dformat+" - "+msg;
msg = msg;
data.params.text = msg.replace(/[^\x00-\x7F]/g, "");
}

Loading…
Cancel
Save