fix: no recent users

This commit is contained in:
cha0s 2020-07-21 00:39:36 -05:00
parent 7f3a95bdb6
commit 435916569e

View File

@ -163,7 +163,7 @@ const slice = createSlice({
}
},
[join]: ({recent}, {payload: {channel}}) => {
if (-1 === recent.indexOf(channel)) {
if (-1 === recent.indexOf(channel) && channel.charCodeAt(1) === 'r'.charCodeAt(0)) {
recent.push(channel.substr(3));
}
},