From f77bee25ef87d57d735042f07e265880c52d5dd9 Mon Sep 17 00:00:00 2001 From: Ajay Bura Date: Wed, 11 May 2022 20:53:21 +0530 Subject: [PATCH] Remove forget room on leave --- src/client/action/room.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/client/action/room.js b/src/client/action/room.js index d945a89c..1fe721de 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,