djmaze 2020-09-24 15:08:57 +02:00
parent d291716489
commit 4257d9ca78
8 changed files with 16 additions and 37 deletions

View file

@ -95,15 +95,6 @@ class MessageUserStore {
this.messagesBodiesDom = ko.observable(null);
this.messageActiveDom = ko.observable(null);
this.computers();
this.subscribers();
this.onMessageResponse = this.onMessageResponse.bind(this);
this.purgeMessageBodyCacheThrottle = this.purgeMessageBodyCache.throttle(30000);
}
computers() {
this.messageLoading = ko.computed(() => this.messageCurrentLoading());
this.messageListEndHash = ko.computed(
@ -171,6 +162,12 @@ class MessageUserStore {
});
return result;
});
this.subscribers();
this.onMessageResponse = this.onMessageResponse.bind(this);
this.purgeMessageBodyCacheThrottle = this.purgeMessageBodyCache.throttle(30000);
}
subscribers() {