HomePhabricator
Diffusion Comm b5e45e410113

Enable encrypted notifications to have keyservevrID or senderDeviceID

Description

Enable encrypted notifications to have keyservevrID or senderDeviceID

Summary: This differential enables encrypted notifications to have either keyserverID or senderDeviceID field. Theoretically we could have only senderDeviceID but this has disadvantages. Firstly we would need to handle old clients. Secondly we will need keyserverID anyway since thin threads have different mechanism to calculate unreadCount so we need a way to distuinguish whether a notif comes from keyserver or peer device.

Test Plan:

  1. Flow
  2. Test all notifs types for all platforms and large notifs as well.

Reviewers: kamil, tomek

Reviewed By: kamil, tomek

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D12395

Details

Provenance
marcinAuthored on Jun 11 2024, 2:36 AM
Reviewer
kamil
Differential Revision
D12395: Enable encrypted notifications to have keyservevrID or senderDeviceID
Parents
rCOMM9ea0d0426470: Move all notif types to lib except for APNs notifs
Branches
Unknown
Tags
Unknown