Skip to content

Commit

Permalink
Fix incorrect unsubscription behaviour in the public 'Manage' flow. C…
Browse files Browse the repository at this point in the history
…loses #1407.
  • Loading branch information
knadh committed Aug 6, 2023
1 parent 104c4fc commit eafae46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/public.go
Expand Up @@ -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)
}
}
Expand Down

0 comments on commit eafae46

Please sign in to comment.