Enable hide nick avatar event by default
Signed-off-by: Ajay Bura <[email protected]>
This commit is contained in:
1 parent
211fd19031
commit
27a06ae90c
1 file changed
+2
-2
@@ -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