浏览代码

WebClientService: Remove unused _resetUI method

Danilo Bargen 8 年之前
父节点
当前提交
dcdef8825a
共有 1 个文件被更改,包括 0 次插入8 次删除
  1. 0 8
      src/services/webclient.ts

+ 0 - 8
src/services/webclient.ts

@@ -1256,14 +1256,6 @@ export class WebClientService {
         this.conversations.setFilter(this.container.Filters.hasData(this.receivers));
     }
 
-    private _resetUI(): void {
-        this.$log.debug('UI Reset');
-        // Only reset if currently in the messenger state
-        if (this.$state.includes('messenger')) {
-            this.$state.go(this.$state.current, this.$state.params, {reload: true});
-        }
-    }
-
     private _requestInitialData(): void {
         // if all conversations are reloaded, clear the message cache
         // to get in sync (we dont know if a message was removed, updated etc..)