Fix incorrect unsubscription behaviour in the public 'Manage' flow. Closes #1407.
This commit is contained in:
parent
104c4fc993
commit
eafae46409
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ func handleSubscriptionPrefs(c echo.Context) error {
|
|||
|
||||
unsubUUIDs := make([]string, 0, len(req.ListUUIDs))
|
||||
for _, s := range subs {
|
||||
if _, ok := reqUUIDs[s.UUID]; !ok {
|
||||
if _, ok := reqUUIDs[s.UUID]; ok {
|
||||
unsubUUIDs = append(unsubUUIDs, s.UUID)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue