From 27a06ae90cf50dd76abecf8bcbc71220513d37b7 Mon Sep 17 00:00:00 2001 From: Ajay Bura Date: Mon, 14 Mar 2022 17:48:27 +0530 Subject: [PATCH] Enable hide nick avatar event by default Signed-off-by: Ajay Bura --- src/client/state/settings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/state/settings.js b/src/client/state/settings.js index ab4ae6f..25d0b2d 100644 --- a/src/client/state/settings.js +++ b/src/client/state/settings.js @@ -97,8 +97,8 @@ class Settings extends EventEmitter { if (typeof this.hideNickAvatarEvents === 'boolean') return this.hideNickAvatarEvents; const settings = getSettings(); - if (settings === null) return false; - if (typeof settings.hideNickAvatarEvents === 'undefined') return false; + if (settings === null) return true; + if (typeof settings.hideNickAvatarEvents === 'undefined') return true; return settings.hideNickAvatarEvents; }