[FIX] Drawer navigation won't refresh chats (#432)
This commit is contained in:
parent
96d0b1fcbc
commit
849de55604
|
@ -149,10 +149,6 @@ export default class RoomsListView extends LoggedView {
|
||||||
this.removeListener(this.direct);
|
this.removeListener(this.direct);
|
||||||
this.removeListener(this.livechat);
|
this.removeListener(this.livechat);
|
||||||
|
|
||||||
if (database && database.deleteAll) {
|
|
||||||
database.deleteAll();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.timeout) {
|
if (this.timeout) {
|
||||||
clearTimeout(this.timeout);
|
clearTimeout(this.timeout);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue