Enable hide nick avatar event by default
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user