HomePhabricator
Diffusion Comm 89119a1098b9

Enable the client to fetch users platform details from identity RPC

Description

Enable the client to fetch users platform details from identity RPC

Summary: This differential modifies the way we handle get_device_lists_for_users RPC so that the client extracts users devices platofrm details as well.

Test Plan:

  1. Build web and native client. Disable database encryption on native client.
  2. Log in/register on both platforms with two different users. Make those users friends.
  3. Add console.log to peer-llist-hooks to log the result.
  4. Click create initial peer list in TB menu.
  5. Examine logs and ensure that both users have each other in peer list and patform details are correct.
  6. Fetch SQLite content from XCode/Android studio and ensure that platform details of peers are persisted in aux users table in SQLite.

Reviewers: bartek, kamil

Reviewed By: bartek

Subscribers: ashoat, tomek

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

Details

Provenance
marcinAuthored on Jun 4 2024, 1:20 AM
Reviewer
bartek
Differential Revision
D12308: Enable the client to fetch users platform details from identity RPC
Parents
rCOMMca08c62896e9: Add identity platform details to aux user store
Branches
Unknown
Tags
Unknown