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
F3333693: D10192.id34289.diff
Thu, Nov 21, 4:49 AM
F3333692: D10192.id34287.diff
Thu, Nov 21, 4:49 AM
F3333691: D10192.id34281.diff
Thu, Nov 21, 4:49 AM
F3333690: D10192.id34279.diff
Thu, Nov 21, 4:49 AM
F3333689: D10192.id34275.diff
Thu, Nov 21, 4:49 AM
F3333688: D10192.id34272.diff
Thu, Nov 21, 4:49 AM
F3333687: D10192.id34271.diff
Thu, Nov 21, 4:49 AM
F3333680: D10192.id.diff
Thu, Nov 21, 4:49 AM
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-6010
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.