From: Ajay Bura Date: Wed, 11 May 2022 15:23:21 +0000 (+0530) Subject: Remove forget room on leave X-Git-Tag: v2.0.1~7 X-Git-Url: https://git.wafflesoft.org/?a=commitdiff_plain;h=f77bee25ef87d57d735042f07e265880c52d5dd9;p=cinny.git Remove forget room on leave --- diff --git a/src/client/action/room.js b/src/client/action/room.js index d945a89..1fe721d 100644 --- a/src/client/action/room.js +++ b/src/client/action/room.js @@ -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,