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

Commit

Permalink
20191122 - Adding a small fix to microsoft Teams - untested - might b…
Browse files Browse the repository at this point in the history
…e related with #143
  • Loading branch information
yafp committed Nov 22, 2019
1 parent de9dd83 commit b36963d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/js/ttth/services/microsoftTeams/microsoftTeams_inject.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// via hamsket
Object.defineProperty(navigator.serviceWorker,"register",{value:()=>Promise.reject()});



const {ipcRenderer} = require("electron");


Expand All @@ -23,7 +28,7 @@ function serviceMicrosoftTeamsGetUnreadMessageCount()
}
}

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

ipcRenderer.sendToHost(count.toString());
return count.toString();
Expand Down

0 comments on commit b36963d

Please sign in to comment.