From 849de5560494317ff1cab9d34f3d5eb39929cc57 Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Thu, 13 Sep 2018 17:40:03 -0300 Subject: [PATCH] [FIX] Drawer navigation won't refresh chats (#432) --- app/views/RoomsListView/index.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/views/RoomsListView/index.js b/app/views/RoomsListView/index.js index 3978abd88..a4b9e58e0 100644 --- a/app/views/RoomsListView/index.js +++ b/app/views/RoomsListView/index.js @@ -149,10 +149,6 @@ export default class RoomsListView extends LoggedView { this.removeListener(this.direct); this.removeListener(this.livechat); - if (database && database.deleteAll) { - database.deleteAll(); - } - if (this.timeout) { clearTimeout(this.timeout); }