Skip to content
This repository was archived by the owner on Dec 23, 2022. It is now read-only.

Commit b36963d

Browse files
committed
20191122 - Adding a small fix to microsoft Teams - untested - might be related with #143
1 parent de9dd83 commit b36963d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

app/js/ttth/services/microsoftTeams/microsoftTeams_inject.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// via hamsket
2+
Object.defineProperty(navigator.serviceWorker,"register",{value:()=>Promise.reject()});
3+
4+
5+
16
const {ipcRenderer} = require("electron");
27

38

@@ -23,7 +28,7 @@ function serviceMicrosoftTeamsGetUnreadMessageCount()
2328
}
2429
}
2530

26-
console.log("serviceMicrosoftTeamsGetUnreadMessageCount ::: Total Outlook unread messages: " + count);
31+
console.log("serviceMicrosoftTeamsGetUnreadMessageCount ::: Total Microsoft Teams unread messages: " + count);
2732

2833
ipcRenderer.sendToHost(count.toString());
2934
return count.toString();

0 commit comments

Comments
 (0)