Commit Graph

3 Commits (b32998b3f55bfb4acebe78810fde94838eb75918)

Author SHA1 Message Date
KN4CK3R 1b630ff7cd
Fix user visible check (#21210)
Fixes #21206

If user and viewer are equal the method should return true.
Also the common organization check was wrong as `count` can never be
less then 0.

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2 years ago
Ethan Koenig cf02cd7ba0 Fix and test for delete user (#1713)
* Fix and test for delete user

* Run updates in batches

* Unit test
8 years ago
Ethan Koenig 3803f257fb Move user_follow to separate file (#1210)
Also add unit tests
8 years ago