Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple accounts #23

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

findmory
Copy link

Added support for multiple Gmail accounts. In updateBadgeIcon we loop through up to 10 atomfeed accounts (logged in Google accounts) and tally up the unread count.

Changed the polling interval to 10 sec, because it felt fast enough and it feels fairly expensive to poll more frequently. Probably should move polling interval to an optional user config, if someone wants to add that feature.

}
let unreadCount;

function getUnreadCount(doc) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have submitted an other PR where I am changing this function to be based on entry due to an issue with full count and categories/pre defined labels.

Have a look here in case we can combine the PRs.

Having said that, I am not the owner of the repo/extension, so not sure if that's acceptable overall in regards to changing the function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants