Fix spacing and settings
This commit is contained in:
parent
3afbb5ae8c
commit
eda943738a
3 changed files with 4 additions and 4 deletions
|
@ -187,12 +187,12 @@ class Settings extends EventEmitter {
|
||||||
},
|
},
|
||||||
[cons.actions.settings.TOGGLE_TYPING_NOTIFICATIONS]: () => {
|
[cons.actions.settings.TOGGLE_TYPING_NOTIFICATIONS]: () => {
|
||||||
this.sendTypingNotifications = !this.sendTypingNotifications;
|
this.sendTypingNotifications = !this.sendTypingNotifications;
|
||||||
setSettings('hideNickAvatarEvents', this.sendTypingNotifications);
|
setSettings('sendTypingNotifications', this.sendTypingNotifications);
|
||||||
this.emit(cons.events.settings.SEND_TYPING_TOGGLED, this.sendTypingNotifications);
|
this.emit(cons.events.settings.SEND_TYPING_TOGGLED, this.sendTypingNotifications);
|
||||||
},
|
},
|
||||||
[cons.actions.settings.TOGGLE_READ_RECEIPTS]: () => {
|
[cons.actions.settings.TOGGLE_READ_RECEIPTS]: () => {
|
||||||
this.sendReadReceipts = !this.sendReadReceipts;
|
this.sendReadReceipts = !this.sendReadReceipts;
|
||||||
setSettings('hideNickAvatarEvents', this.sendReadReceipts);
|
setSettings('sendReadReceipts', this.sendReadReceipts);
|
||||||
this.emit(cons.events.settings.SEND_RECEIPTS_TOGGLED, this.sendReadReceipts);
|
this.emit(cons.events.settings.SEND_RECEIPTS_TOGGLED, this.sendReadReceipts);
|
||||||
},
|
},
|
||||||
[cons.actions.settings.TOGGLE_NOTIFICATIONS]: async () => {
|
[cons.actions.settings.TOGGLE_NOTIFICATIONS]: async () => {
|
||||||
|
|
Loading…
Reference in a new issue