Page MenuHomePhabricator

[web] Don't display current user in UserList
ClosedPublic

Authored by michal on Oct 24 2022, 8:32 AM.
Tags
None
Referenced Files
F3734353: D5466.id17860.diff
Thu, Jan 9, 3:37 AM
F3734208: D5466.id17887.diff
Thu, Jan 9, 3:21 AM
Unknown Object (File)
Tue, Jan 7, 7:51 AM
Unknown Object (File)
Mon, Jan 6, 11:41 PM
Unknown Object (File)
Mon, Jan 6, 11:12 PM
Unknown Object (File)
Tue, Dec 17, 7:05 AM
Unknown Object (File)
Tue, Dec 17, 7:05 AM
Unknown Object (File)
Tue, Dec 17, 7:05 AM
Subscribers

Details

Summary

ENG-2015
Current user shouldn't be displayed in UserLists (blocking/ sending friend request to yourself doesn't make sense),

Test Plan

Check if the current user is not visible in the block/ friend list and can't be searched for. Check if other users can still be selected.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Nice!! Thanks for creating both the issue and the fix :)

Just checking – do we do the same thing on native currently?

Looks good, but make sure to answer question about native before landing

This revision is now accepted and ready to land.Oct 24 2022, 11:27 AM

We handle this issue correctly on native (here).