Closed jcuenod closed 7 years ago
Merged. Made a few changes though. https://github.com/shumingch/GmailMessageTray/commit/5a5980c05893204fc2c32a2ee903efa416252b42
Awesome, thanks! I know it starts becoming a lot more complex but have you looked into using imap? I was just experimenting with node and I managed to get something similar to this extension pretty quickly...
This PR hashes the message
link
and stores it in an array (messagesShown
) to keep track of what notifications have already been seen.It then filters out messages that have been seen before and doesn't produce notifications for them again.