Reset badgeCount during log out
Summary:
This differential fixes badge count behaviour during log-out. The context is here:
https://linear.app/comm/issue/ENG-5169/badge-count-is-not-reset-when-logging-out.
Test Plan:
Before this diff:
- Update badge count of app (mark some threads as unread on web)
- Log out
- Ensure badge count remains unchanged.
After this diff:
- Update badge count of app (mark some threads as unread on web)
- Log out
- Ensure badge count is cleared.
Reviewers: tomek, atul
Reviewed By: atul
Subscribers: ashoat, tomek, wyilio
Differential Revision: https://phab.comm.dev/D9824