projects
/
cinny.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c11328a
)
Remove forget room on leave
author
Ajay Bura
<ajbura@gmail.com>
Wed, 11 May 2022 15:23:21 +0000
(20:53 +0530)
committer
Ajay Bura
<ajbura@gmail.com>
Wed, 11 May 2022 15:23:21 +0000
(20:53 +0530)
src/client/action/room.js
patch
|
blob
|
history
diff --git
a/src/client/action/room.js
b/src/client/action/room.js
index d945a89c97e381e240ccb45666a8bd2dd94ac923..1fe721de6e17367471f86468bd5f313b71c922be 100644
(file)
--- 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,