-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Open
Labels
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedIssue has been reviewed and confirmed to be present or accepted to be implementedtopic/apiConcerns mainly the APIConcerns mainly the APItype/bug
Description
Description
If a user commented an issue, then this user will be a participant of this issue, as shown in the issue content page. And the Notifications part of this page, will show a button named "Unsubscribe".
However, if we use the issue subscription API(/repos/{owner}/{repo}/issues/{index}/subscriptions
), this user will not be included in the subscription list.
Only if they clicks on the Unsubscribe and then Subscribe, this user will be included in the API.
It seems in the web page, a participant(who create the issue or comment the issue) is treated as a subscriber. But in the API, only the users who subscribe by hand, will be a subscriber.
Gitea Version
1.20.1
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
rootless docker
Database
PostgreSQL
puni9869
Metadata
Metadata
Assignees
Labels
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedIssue has been reviewed and confirmed to be present or accepted to be implementedtopic/apiConcerns mainly the APIConcerns mainly the APItype/bug