blob: 60fd0524ebfa115e8214c52cc1b0fb6fd15a7613 (
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);
};
|