Pass majorDesktopVersion to platformDetails when creating macos badgeonly notifications.
Summary:
This differential fixes https://linear.app/comm/issue/ENG-6014/macos-badge-only-notifications-are-not-encrypted. The majorDesktopVersion is extracted from
versions object and passed to platformDetails when creating badgeOnly notifications.
Test Plan:
- Build macOS app without applying this differential.
- Ensure that sending badge only notifications does not increment version field in relevant row in olm_sessions table.
- Apply this diff and build macOS app again.
- Ensure that sending badge only notifications does increment version field in relevant row in olm_sessions table.
Reviewers: michal, kamil
Reviewed By: michal
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D10192