mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
For web pages, the initial favicon is the same as the favicon we set for no unread messages and the initial page title is the same as the page title we set for no unread messages. However, for the OS X app, the dock icon does not get its badge updated on initial page load. If the badge icon was wrong right before a reload and we actually have no unread messages then we will never execute bridge.updateCount() until the unread count changes. Therefore, we now ensure that bridge.updateCount is always run at least once to synchronize it with the page title. (imported from commit 5d1269c62c1c3190aea96ef6f96c46acdb9fdf9c)
11 KiB
11 KiB