HomePhabricator
Diffusion Comm ef097d633879

[lib] Update usages of userHasDeviceList to acknowledge accountMissingStatus

Description

[lib] Update usages of userHasDeviceList to acknowledge accountMissingStatus

Summary: issue: ENG-9633

Test Plan:
Tested that when a user is missing a device list the accountMissingStatus is set. Checked that lastChecked is updated with next requests but missingSince stays the same.

checked that if non-empty a device list is returned by identity, accountMissingStatus is removed.

checked that further requests for the same user are stopped for 20s.

checked that if a user that has a recent lastChecked is picked in search (triggering onSelectUserFromSearch which calls useUsersSupportThickThreads) they are not queried for

Reviewers: tomek, kamil

Reviewed By: kamil

Subscribers: ashoat

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

Details

Provenance
inkaAuthored on Oct 14 2024, 9:09 AM
Reviewer
kamil
Differential Revision
D13729: [lib] Update usages of userHasDeviceList to acknowledge accountMissingStatus
Parents
rCOMMe03089ba3f24: [lib] Mark missing users when fetching device lists
Branches
Unknown
Tags
Unknown