Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix updating boolean anonymous settings

Chocobozzzcb2e36618ca5
diff --git a/client/src/app/core/users/user.service.ts b/client/src/app/core/users/user.service.ts
index 16ea8aa1a2..33cc1f668d 100644
--- a/client/src/app/core/users/user.service.ts
+++ b/client/src/app/core/users/user.service.ts
@@ -92,7 +92,7 @@ export class UserService {
for (const [ key, value ] of obj) {
try {
- if (!value) {
+ if (value === undefined) {
this.localStorageService.removeItem(key)
continue
}