aberonni / gmail-app-badge-notification

Show badge notifications in the taskbar when using Gmail as an app
21 stars 11 forks source link

Google Chat is showing Gmail badge #9

Closed msmit423 closed 3 years ago

msmit423 commented 3 years ago

I also have a shortcut app for Google Chat and it's showing the same badge as Gmail. Reading/unreading emails updates the Google Chat badge the same as the Gmail.

I want to add on too that this wasn't an issue prior to performing a Mac update and it also looked like a Google Chat update occurred.

image

Chrome: Version 91.0.4472.77 (Official Build) (x86_64) Mac OS C̶a̶t̶a̶l̶i̶n̶a̶:̶ ̶1̶0̶.̶1̶5̶.̶7̶ ̶(̶1̶9̶H̶1̶2̶1̶7̶)̶ Updated to Big Sur and still an issue -- Big Sur v11.4

-Mike

msmit423 commented 3 years ago

@aberonni -- Any idea on this one? Have you or anyone else experienced this?

msmit423 commented 3 years ago

I also noticed that the Google Chat URL is now: https://mail.google.com/chat/u/0/#chat/welcome which I think is different than previously (but I can't confirm). Appears they're more closely integrating it into Gmail.

The Gmail URL is https://mail.google.com/mail/u/0/#inbox.

Perhaps there's something in the code that would be a quick update to filter out the /chat/ URL from displaying the badge? Sorry, I'm not a developer and don't know the first thing to look at but can help with research and testing 🙂

Would a possible fix be updating the manifest.json from "://.mail.google.com/" to "://.mail.google.com/mail/"