Update badge count on web and desktop taking into account thick threads
Summary: This differential updates badge count on web and desktop according to the same semantics as the parent differential does on native.
Test Plan:
- Apply this patch: https://gist.github.com/marcinwasowicz/2e56c2d67cd69b1ef279bc748ff1fb61
- Send messages from web client to desktop/web client.
- Ensure badge count stayes consistent and takes into account new thick threads.
Reviewers: tomek, kamil
Reviewed By: tomek
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D13210