mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
When determining if desktop notifications are enabled, we can check whether there is a "window.bridge" element. Now when it comes time to actually send out notifications, we can just test again for the existence of "window.bridge" and if so, shunt the data over it. (imported from commit 8104c91ea9da7bc485c86a3c21edc88905d2f47b)
7.6 KiB
7.6 KiB