HomePhabricator
Diffusion Comm fa259c0d3023

[lib] Use useUsersSupportThickThreads() (with auxUserInfos) in…

Description

[lib] Use useUsersSupportThickThreads() (with auxUserInfos) in useUpdateRelationships()

Summary: https://linear.app/comm/issue/ENG-9509/accepting-a-friend-request-on-web-creates-thin-thread

Test Plan:

  1. Mobile user makes a new thick thread with web user (with new message button)
  2. Mobile user sends friend request
  3. Throw some error in fetchUserIdentitiesPromise() so that finding user indentity always fails
  4. Web user accepts the request
  5. Before a new thin thread was created. Now no new threads are created, users are friends, because user identity is found in auxUserInfo.

Reviewers: kamil, tomek

Reviewed By: kamil

Subscribers: ashoat

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

Details

Provenance
angelikaAuthored on Nov 14 2024, 11:51 AM
Reviewer
kamil
Differential Revision
D13938: [lib] Use useUsersSupportThickThreads() (with auxUserInfos) in useUpdateRelationships()
Parents
rCOMM6e8a60ade6ed: [native] implement hook for restore
Branches
Unknown
Tags
Unknown