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
Unknown Object (File)
Wed, Nov 27, 9:50 PM
Unknown Object (File)
Wed, Nov 27, 7:55 PM
Unknown Object (File)
Wed, Nov 27, 5:42 PM
Unknown Object (File)
Tue, Nov 5, 4:11 AM
Unknown Object (File)
Tue, Nov 5, 4:11 AM
Unknown Object (File)
Tue, Nov 5, 4:10 AM
Unknown Object (File)
Tue, Nov 5, 4:04 AM
Unknown Object (File)
Oct 16 2024, 8:39 AM

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