blob: 177ea4c926e472ff0d88aa6e8376c15ce1d6daf3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
module.exports = (Ferdi) => {
const getMessages = () => {
const unreadMailInCurrentFolder = $('.zmList.zmLUrd').length;
const unreadMailAnyware = $('#zmlTree .zmTreeNDWra .zmBold').length;
Ferdi.setBadge(unreadMailInCurrentFolder, unreadMailAnyware);
};
Ferdi.loop(getMessages);
};
|