Enable hide nick avatar event by default
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
211fd19031
commit
27a06ae90c
1 changed files with 2 additions and 2 deletions
|
@ -97,8 +97,8 @@ class Settings extends EventEmitter {
|
||||||
if (typeof this.hideNickAvatarEvents === 'boolean') return this.hideNickAvatarEvents;
|
if (typeof this.hideNickAvatarEvents === 'boolean') return this.hideNickAvatarEvents;
|
||||||
|
|
||||||
const settings = getSettings();
|
const settings = getSettings();
|
||||||
if (settings === null) return false;
|
if (settings === null) return true;
|
||||||
if (typeof settings.hideNickAvatarEvents === 'undefined') return false;
|
if (typeof settings.hideNickAvatarEvents === 'undefined') return true;
|
||||||
return settings.hideNickAvatarEvents;
|
return settings.hideNickAvatarEvents;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue