blob: 29ffa9cd61bc86c1dcfe85b525278a1090820524 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
const path = require('path');
module.exports = (Franz, options) => {
const getMessages = () => {
const unreadMailInCurrentFolder = $(".zmList.zmLUrd").length;
const unreadMailAnyware = $("#zmlTree .zmTreeNDWra .zmBold").length;
Franz.setBadge(unreadMailInCurrentFolder, unreadMailAnyware);
}
Franz.loop(getMessages);
};
|