Remove forget room on leave

This commit is contained in:
Ajay Bura 2022-05-11 20:53:21 +05:30
parent c11328a064
commit f77bee25ef

View file

@ -118,9 +118,6 @@ async function leave(roomId) {
const isDM = initMatrix.roomList.directs.has(roomId);
try {
await mx.leave(roomId);
setTimeout(() => {
mx.forget(roomId);
}, 5000);
appDispatcher.dispatch({
type: cons.actions.room.LEAVE,
roomId,