Skip to content

Commit eafae46

Browse files
committed
Fix incorrect unsubscription behaviour in the public 'Manage' flow. Closes #1407.
1 parent 104c4fc commit eafae46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/public.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ func handleSubscriptionPrefs(c echo.Context) error {
313313

314314
unsubUUIDs := make([]string, 0, len(req.ListUUIDs))
315315
for _, s := range subs {
316-
if _, ok := reqUUIDs[s.UUID]; !ok {
316+
if _, ok := reqUUIDs[s.UUID]; ok {
317317
unsubUUIDs = append(unsubUUIDs, s.UUID)
318318
}
319319
}

0 commit comments

Comments
 (0)