Fix adding suggested folder
This commit is contained in:
parent
7a605dc9db
commit
04679dadd2
@ -252,7 +252,12 @@ export default class AppChatFoldersTab extends SliderSuperTab {
|
|||||||
|
|
||||||
button.setAttribute('disabled', 'true');
|
button.setAttribute('disabled', 'true');
|
||||||
|
|
||||||
appMessagesManager.filtersStorage.createDialogFilter(filter.filter as any).then(bool => {
|
const f = filter.filter as MyDialogFilter;
|
||||||
|
f.includePeerIds = [];
|
||||||
|
f.excludePeerIds = [];
|
||||||
|
f.pinnedPeerIds = [];
|
||||||
|
|
||||||
|
appMessagesManager.filtersStorage.createDialogFilter(f).then(bool => {
|
||||||
if(bool) {
|
if(bool) {
|
||||||
div.remove();
|
div.remove();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user