Remove forget room on leave
This commit is contained in:
@@ -118,9 +118,6 @@ async function leave(roomId) {
|
|||||||
const isDM = initMatrix.roomList.directs.has(roomId);
|
const isDM = initMatrix.roomList.directs.has(roomId);
|
||||||
try {
|
try {
|
||||||
await mx.leave(roomId);
|
await mx.leave(roomId);
|
||||||
setTimeout(() => {
|
|
||||||
mx.forget(roomId);
|
|
||||||
}, 5000);
|
|
||||||
appDispatcher.dispatch({
|
appDispatcher.dispatch({
|
||||||
type: cons.actions.room.LEAVE,
|
type: cons.actions.room.LEAVE,
|
||||||
roomId,
|
roomId,
|
||||||
|
|||||||
Reference in New Issue
Block a user