Page MenuHomePhabricator

[lib] update getAvatarForUser signature
ClosedPublic

Authored by varun on Tue, Sep 24, 8:49 AM.
Tags
None
Referenced Files
F2843291: D13450.id44544.diff
Sun, Sep 29, 4:17 PM
F2843281: D13450.id44486.diff
Sun, Sep 29, 4:15 PM
F2842530: D13450.diff
Sun, Sep 29, 2:27 PM
F2840567: D13450.diff
Sun, Sep 29, 6:23 AM
F2839477: D13450.diff
Sun, Sep 29, 2:01 AM
Unknown Object (File)
Wed, Sep 25, 1:30 AM
Unknown Object (File)
Wed, Sep 25, 1:30 AM
Unknown Object (File)
Wed, Sep 25, 12:41 AM
Subscribers

Details

Summary

getAvatarForUser just needs a type that contains optional, nullable username and avatar fields. modifying the function signature to make it clear what data we're dealing with here.

Test Plan

tested with rest of stack by successfully setting thread and user avatars

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage