Fixed uncaught exception that prevented notification from working on Files Tab

Bryan Roe committed Feb 1, 2022 at 20:29 UTC ba11903615f7926898e94fad24122d4ea3840252
1 file changed +1 -1
agents/meshcore.js
+1 -1
@@ -2662,7 +2662,7 @@ function onTunnelData(data) {
2662 if (this.httprequest.consent && (this.httprequest.consent & 4)) {
2663 // User Notifications is required
2664 MeshServerLogEx(42, null, "Started remote files with toast notification (" + this.httprequest.remoteaddr + ")", this.httprequest);
2665 - var notifyMessage = currentTranslation['fileNotify'].replace('{0}', this.ws.httprequest.realname);
2665 + var notifyMessage = currentTranslation['fileNotify'].replace('{0}', this.httprequest.realname);
2666 var notifyTitle = "MeshCentral";
2667 if (this.httprequest.soptions != null) {
2668 if (this.httprequest.soptions.notifyTitle != null) { notifyTitle = this.httprequest.soptions.notifyTitle; }