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) {
6666 const chats = await TdLibController . send ( {
6767 '@type' : 'getChats' ,
6868 chat_list : { '@type' : 'chatListMain' } ,
69- offset_order : '9223372036854775807' ,
70- offset_chat_id : 0 ,
7169 limit : 10
7270 } ) ;
7371
Original file line number Diff line number Diff line change @@ -218,15 +218,11 @@ class Dialogs extends Component {
218218 promises . push ( TdLibController . send ( {
219219 '@type' : 'getChats' ,
220220 chat_list : { '@type' : 'chatListMain' } ,
221- offset_order : '9223372036854775807' ,
222- offset_chat_id : 0 ,
223221 limit : CHAT_SLICE_LIMIT
224222 } ) ) ;
225223 promises . push ( TdLibController . send ( {
226224 '@type' : 'getChats' ,
227225 chat_list : { '@type' : 'chatListArchive' } ,
228- offset_order : '9223372036854775807' ,
229- offset_chat_id : 0 ,
230226 limit : CHAT_SLICE_LIMIT
231227 } ) ) ;
232228 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 {
283283 const result = await TdLibController . send ( {
284284 '@type' : 'getChats' ,
285285 chat_list : { '@type' : 'chatListMain' } ,
286- offset_order : '9223372036854775807' ,
287- offset_chat_id : 0 ,
288286 limit : 1000
289287 } ) ;
290288
Original file line number Diff line number Diff line change @@ -66,8 +66,6 @@ class Filters extends React.Component {
6666 const chats = await TdLibController . send ( {
6767 '@type' : 'getChats' ,
6868 chat_list : { '@type' : 'chatListMain' } ,
69- offset_chat_id : 0 ,
70- offset_order : '9223372036854775807' ,
7169 limit : 1000
7270 } ) ;
7371
Original file line number Diff line number Diff line change @@ -58,8 +58,6 @@ class ForwardDialog extends React.Component {
5858 const promises = [ ] ;
5959 const getChatsPromise = TdLibController . send ( {
6060 '@type' : 'getChats' ,
61- offset_order : '9223372036854775807' ,
62- offset_chat_id : 0 ,
6361 limit : 100
6462 } ) ;
6563 promises . push ( getChatsPromise ) ;
Original file line number Diff line number Diff line change @@ -205,8 +205,6 @@ class Dialog extends Component {
205205 const chats = await TdLibController . send ( {
206206 '@type' : 'getChats' ,
207207 chat_list : chatList ,
208- offset_order : '9223372036854775807' ,
209- offset_chat_id : 0 ,
210208 limit : pinnedSumMaxOption . value + 10
211209 } ) ;
212210
You can’t perform that action at this time.
0 commit comments