fix: no recent users
This commit is contained in:
parent
7f3a95bdb6
commit
435916569e
|
@ -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));
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user