Page MenuHomePhabricator

[lib] Make relationship update function dependent on user id
ClosedPublic

Authored by tomek on Apr 14 2022, 11:40 AM.
Tags
None
Referenced Files
F2906075: D3732.id.diff
Sun, Oct 6, 9:00 AM
Unknown Object (File)
Fri, Sep 27, 1:09 AM
Unknown Object (File)
Fri, Sep 27, 1:09 AM
Unknown Object (File)
Fri, Sep 27, 1:09 AM
Unknown Object (File)
Fri, Sep 27, 1:08 AM
Unknown Object (File)
Wed, Sep 25, 1:14 AM
Unknown Object (File)
Tue, Sep 24, 5:18 PM
Unknown Object (File)
Tue, Sep 24, 5:18 PM

Details

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.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable