HomePhabricator
Diffusion Comm 2687a805fb3b

[lib] Make relationship update function dependent on user id

Description

[lib] Make relationship update function dependent on user id

Summary:
We don't need to depend on the whole user info and instead can depend only on the id.
This is the first step of extracting a hook that provides functions that manipulate relationships.

Test Plan: It shouldn't change the behavior but still tested it by sending friend request on native and checking if the state was updated.

Reviewers: benschac, atul, def-au1t

Reviewed By: atul

Subscribers: ashoat, Adrian, karol-bisztyga, yayabosh

Differential Revision: https://phabricator.ashoat.com/D3732

Details

Provenance
tomekAuthored on Apr 14 2022, 11:08 AM
Reviewer
atul
Differential Revision
D3732: [lib] Make relationship update function dependent on user id
Parents
rCOMM044906b7ea60: [web] Display friend list buttons in the modal
Branches
Unknown
Tags
Unknown