Skip to content

Commit 009569a

Browse files
committed
update
1 parent ce42dc1 commit 009569a

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

td_client_actor.js

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,6 @@ class TdClientActor extends EventEmitter {
4444
this.on('__updateAuthorizationState', async (update) => {
4545
switch (update.authorization_state['@type']) {
4646
case 'authorizationStateWaitTdlibParameters':
47-
await this.run('setOption', {
48-
name: 'ignore_inline_thumbnails',
49-
value: {
50-
'@type': 'optionValueBoolean',
51-
value: true
52-
}
53-
})
54-
await this.run('setOption', {
55-
name: 'disable_top_chats',
56-
value: {
57-
'@type': 'optionValueBoolean',
58-
value: true
59-
}
60-
})
6147
return this.run('setTdlibParameters', {
6248
parameters: tdlib_param
6349
})

0 commit comments

Comments
 (0)