HomePhabricator
Diffusion Comm fb55cfff0e59

[lib] standarize broadcasting device list update when removing device

Description

[lib] standarize broadcasting device list update when removing device

Summary:
Addressing https://phab.comm.dev/D13963#inline-78590 and https://phab.comm.dev/D13963#inline-78595.

Right now we have the same approach each time:

  1. Sending device list updates to all our peers
  2. Sending device list updates to all our devices that are on the device list, but without the primary device
  3. Call getAndUpdateDeviceListsForUsers for our userID
    • update AuxUserStore
    • get platform details if the device was added

Depends on D13963

Test Plan: Remove secondary device and test if other peers received device list update

Reviewers: bartek, ashoat

Reviewed By: ashoat

Subscribers: ashoat, tomek

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

Details

Provenance
kamilAuthored on Wed, Nov 20, 3:04 AM
Reviewer
ashoat
Differential Revision
D13972: [lib] standarize broadcasting device list update when removing device
Parents
rCOMMe9701fa2be81: [lib] create hook to run Device List Update Protocol
Branches
Unknown
Tags
Unknown