mrahul17 / Chatty

One App to use them All
MIT License
1 stars 2 forks source link

Desktop notifications not appearing #3

Open mrahul17 opened 8 years ago

mrahul17 commented 8 years ago

Even though desktop notifications is enabled, no notification is being receieved.

mrahul17 commented 8 years ago

Now, notifications are being shown.

However, Current implementation relies on the changing title of the iframe.contentDocument. This means that if messages consecutive messages from the same user will not be notified.

Possible workaround is to tap into the body of the iframe and look for changes in components that can give a clue.

Every new message will have a chat box open, so I need to keep a reference of those chatboxes in my array and look for changes in them. This might be an overload for the CPU.

mrahul17 commented 8 years ago

Partly imlpemented 63377c710602b90b7e80a0c85e54aaf581c19a76