blob: 85df36ffcd9d6860785b69fa97c63f41ff61802b (
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 || 0;
Ferdi.setBadge(count);
};
Ferdi.loop(getMessages);
};
|