[FIX] Typing not getting cleared after popping a room (#873)
This commit is contained in:
parent
2492371b50
commit
10210d0dcf
|
@ -184,6 +184,10 @@ export default function subscribeRoom({ rid }) {
|
||||||
typingTimeouts[key] = null;
|
typingTimeouts[key] = null;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
database.memoryDatabase.write(() => {
|
||||||
|
const usersTyping = database.memoryDatabase.objects('usersTyping').filtered('rid == $0', rid);
|
||||||
|
database.memoryDatabase.delete(usersTyping);
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
connectedListener = this.sdk.onStreamData('connected', handleConnected);
|
connectedListener = this.sdk.onStreamData('connected', handleConnected);
|
||||||
|
|
Loading…
Reference in New Issue