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:
- Build web and native client. Disable database encryption on native client.
- Log in/register on both platforms with two different users. Make those users friends.
- Add console.log to peer-llist-hooks to log the result.
- Click create initial peer list in TB menu.
- Examine logs and ensure that both users have each other in peer list and patform details are correct.
- 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