blob: 197814e60b6f62c9e67d9567de0dbcb90e3e1c90 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
module.exports = Ferdi => {
const getMessages = () => {
// eslint-disable-next-line no-undef
const count = feedbin.count_data.unread_entries.length || 0;
Ferdi.setBadge(count);
};
Ferdi.loop(getMessages);
};
|