mirror of
https://github.com/go-gitea/gitea
synced 2024-11-05 14:07:00 +01:00
1b630ff7cd
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>
20 lines
157 B
YAML
20 lines
157 B
YAML
-
|
|
id: 1
|
|
user_id: 4
|
|
follow_id: 2
|
|
|
|
-
|
|
id: 2
|
|
user_id: 8
|
|
follow_id: 2
|
|
|
|
-
|
|
id: 3
|
|
user_id: 2
|
|
follow_id: 8
|
|
|
|
-
|
|
id: 4
|
|
user_id: 31
|
|
follow_id: 33
|