Page MenuHomePhabricator

Pass majorDesktopVersion to platformDetails when creating macos badgeonly notifications.
ClosedPublic

Authored by marcin on Dec 5 2023, 4:21 AM.
Tags
None
Referenced Files
F3366011: D10192.id34271.diff
Mon, Nov 25, 9:05 AM
F3365890: D10192.id34281.diff
Mon, Nov 25, 8:11 AM
Unknown Object (File)
Fri, Nov 22, 3:46 AM
Unknown Object (File)
Fri, Nov 22, 3:21 AM
Unknown Object (File)
Fri, Nov 22, 3:12 AM
Unknown Object (File)
Fri, Nov 22, 2:35 AM
Unknown Object (File)
Fri, Nov 22, 2:12 AM
Unknown Object (File)
Thu, Nov 21, 9:05 PM
Subscribers

Details

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
  1. Build macOS app without applying this differential.
  2. Ensure that sending badge only notifications does not increment version field in relevant row in olm_sessions table.
  3. Apply this diff and build macOS app again.
  4. Ensure that sending badge only notifications does increment version field in relevant row in olm_sessions table.

Diff Detail

Repository
rCOMM Comm
Branch
marcin/eng-5375
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

marcin requested review of this revision.Dec 5 2023, 4:50 AM
This revision is now accepted and ready to land.Dec 5 2023, 5:46 AM

Enhance variable naming in conditions that determine whether notification should be encrypted.