add images for docs

This commit is contained in:
Sharon Kennedy
2020-03-21 22:50:21 -04:00
parent 792a994ef5
commit c971b3da47
15 changed files with 2 additions and 2 deletions

View File

@@ -396,8 +396,8 @@ class ChatBox extends React.Component {
});
this.state.client.on("RoomMember.typing", (event, member) => {
if (member.typing && event.getRoomId() === this.state.roomId) {
this.setState({ typingStatus: `${member.name} is typing...`})
if (member.typing && member.roomId === this.state.roomId) {
this.setState({ typingStatus: `${member.name} is typing...` })
}
else {
this.setState({ typingStatus: null })