HomePhabricator
Diffusion Comm db8a21dfe270

[lib][p2p] Update device list upon receiving logout message

Description

[lib][p2p] Update device list upon receiving logout message

Summary:
Updated p2p message handler to remove device from device list upon receiving logout message

Depends on D12224

Test Plan:
In addition to test plan from D12224:

  • Verified Identity Service logs to see that update_device_list is called
  • Verified that DDB contains updated device list without secondary device ID (being a sender of the message handled here)

Reviewers: kamil

Reviewed By: kamil

Subscribers: ashoat, tomek

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

Details

Provenance
bartekAuthored on May 28 2024, 4:04 AM
Reviewer
kamil
Differential Revision
D12225: [lib][p2p] Update device list upon receiving logout message
Parents
rCOMMa98182e55a85: [lib] Send logout message to primary device in useSecondaryDeviceLogOut
Branches
Unknown
Tags
Unknown