Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wfjsw committed Sep 10, 2018
1 parent ce42dc1 commit 009569a
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions td_client_actor.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,6 @@ class TdClientActor extends EventEmitter {
this.on('__updateAuthorizationState', async (update) => {
switch (update.authorization_state['@type']) {
case 'authorizationStateWaitTdlibParameters':
await this.run('setOption', {
name: 'ignore_inline_thumbnails',
value: {
'@type': 'optionValueBoolean',
value: true
}
})
await this.run('setOption', {
name: 'disable_top_chats',
value: {
'@type': 'optionValueBoolean',
value: true
}
})
return this.run('setTdlibParameters', {
parameters: tdlib_param
})
Expand Down

0 comments on commit 009569a

Please sign in to comment.