Fix typing tile duplicating users (#10678)

This commit is contained in:
Michael Telatynski
2023-04-20 15:44:54 +01:00
committed by GitHub
parent 467c52a2ae
commit 0d9fa0515d

View File

@@ -200,7 +200,7 @@ export default class WhoIsTypingTile extends React.Component<IProps, IState> {
}
public render(): React.ReactNode {
const usersTyping = this.state.usersTyping;
const usersTyping = [...this.state.usersTyping];
// append the users that have been reported not typing anymore
// but have a timeout timer running so they can disappear
// when a message comes in