File tree Expand file tree Collapse file tree 6 files changed +0
-14
lines changed Expand file tree Collapse file tree 6 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,6 @@ export async function openPinnedChat(index) {
66
66
const chats = await TdLibController . send ( {
67
67
'@type' : 'getChats' ,
68
68
chat_list : { '@type' : 'chatListMain' } ,
69
- offset_order : '9223372036854775807' ,
70
- offset_chat_id : 0 ,
71
69
limit : 10
72
70
} ) ;
73
71
Original file line number Diff line number Diff line change @@ -218,15 +218,11 @@ class Dialogs extends Component {
218
218
promises . push ( TdLibController . send ( {
219
219
'@type' : 'getChats' ,
220
220
chat_list : { '@type' : 'chatListMain' } ,
221
- offset_order : '9223372036854775807' ,
222
- offset_chat_id : 0 ,
223
221
limit : CHAT_SLICE_LIMIT
224
222
} ) ) ;
225
223
promises . push ( TdLibController . send ( {
226
224
'@type' : 'getChats' ,
227
225
chat_list : { '@type' : 'chatListArchive' } ,
228
- offset_order : '9223372036854775807' ,
229
- offset_chat_id : 0 ,
230
226
limit : CHAT_SLICE_LIMIT
231
227
} ) ) ;
232
228
const [ mainChats , archiveChats ] = await Promise . all ( promises ) ;
Original file line number Diff line number Diff line change @@ -283,8 +283,6 @@ class CreateFilter extends React.Component {
283
283
const result = await TdLibController . send ( {
284
284
'@type' : 'getChats' ,
285
285
chat_list : { '@type' : 'chatListMain' } ,
286
- offset_order : '9223372036854775807' ,
287
- offset_chat_id : 0 ,
288
286
limit : 1000
289
287
} ) ;
290
288
Original file line number Diff line number Diff line change @@ -66,8 +66,6 @@ class Filters extends React.Component {
66
66
const chats = await TdLibController . send ( {
67
67
'@type' : 'getChats' ,
68
68
chat_list : { '@type' : 'chatListMain' } ,
69
- offset_chat_id : 0 ,
70
- offset_order : '9223372036854775807' ,
71
69
limit : 1000
72
70
} ) ;
73
71
Original file line number Diff line number Diff line change @@ -58,8 +58,6 @@ class ForwardDialog extends React.Component {
58
58
const promises = [ ] ;
59
59
const getChatsPromise = TdLibController . send ( {
60
60
'@type' : 'getChats' ,
61
- offset_order : '9223372036854775807' ,
62
- offset_chat_id : 0 ,
63
61
limit : 100
64
62
} ) ;
65
63
promises . push ( getChatsPromise ) ;
Original file line number Diff line number Diff line change @@ -205,8 +205,6 @@ class Dialog extends Component {
205
205
const chats = await TdLibController . send ( {
206
206
'@type' : 'getChats' ,
207
207
chat_list : chatList ,
208
- offset_order : '9223372036854775807' ,
209
- offset_chat_id : 0 ,
210
208
limit : pinnedSumMaxOption . value + 10
211
209
} ) ;
212
210
You can’t perform that action at this time.
0 commit comments