mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-16 23:03:21 +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>
19 lines
157 B
YAML
19 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
|