HomePhabricator
Diffusion Comm 082d572bcd56

[lib] add device list type to `AuxUserInfo`

Description

[lib] add device list type to AuxUserInfo

Summary:
ENG-7394.

This is a simple diff to add a device list type to where it'll be stored and accessed.
With this type this works fine without migration, we could also update the type to deviceList: ?RawDeviceList but then we'll need a migration that reads the data from DB, convert it to objects, adds deviceList: null, and saves it in DB to make it safe - don't have a strong opinion about it.

We want this field to be nullable, this will indicate that we have a new user, and we need to fetch the device list for it from Identity, which will be implemented in ENG-7824. (cc. @inka)

Test Plan: FLow

Reviewers: tomek, will, bartek

Reviewed By: bartek

Subscribers: ashoat, inka

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

Details

Provenance
kamilAuthored on Apr 30 2024, 3:53 AM
Reviewer
bartek
Differential Revision
D11840: [lib] add device list type to `AuxUserInfo`
Parents
rCOMMa5fda948bc88: [lib] Make sure we run ID conversion on unsupportedMessageInfo
Branches
Unknown
Tags
Unknown