diff options
Diffstat (limited to 'webapp/stores')
-rw-r--r-- | webapp/stores/channel_store.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/stores/channel_store.jsx b/webapp/stores/channel_store.jsx index 32ea8441c..b34e92530 100644 --- a/webapp/stores/channel_store.jsx +++ b/webapp/stores/channel_store.jsx @@ -290,7 +290,7 @@ class ChannelStoreClass extends EventEmitter { } leaveChannel(id) { - delete this.channelMembers[id]; + Reflect.deleteProperty(this.channelMembers, id); const element = this.channels.indexOf(id); if (element > -1) { this.channels.splice(element, 1); |