Commit Graph

6265 Commits

Author SHA1 Message Date
levlam
aa635a89c2 Check keyboard buttons data for validness. 2022-06-29 15:57:59 +03:00
levlam
d9d76adb7c Return user_id in inline keyboard as is for local and yet unsent messages. 2022-06-29 11:17:51 +03:00
levlam
e8dccae751 Explicitly pass ContactsManager to
get_input_reply_markup/get_reply_markup_object.
2022-06-28 18:34:53 +03:00
levlam
8f472521d4 Avoid expected logging. 2022-06-28 17:22:04 +03:00
levlam
2953a2ec64 Ignore accidentally received web pages by bots. 2022-06-28 17:10:57 +03:00
levlam
70d4fd863b Avoid updates serialization if it will not be needed. 2022-06-28 16:50:22 +03:00
levlam
9ef9751f5f Immediately exit UpdatesManager::process_updates if there are no updates to process. 2022-06-28 16:43:51 +03:00
levlam
faaf8f10f9 Process channel PTS updates during getDifference. 2022-06-28 16:39:32 +03:00
levlam
26fdb92dd8 Minor improvements. 2022-06-28 15:32:05 +03:00
levlam
386fec3d17 Improve LogEvent store debug. 2022-06-28 15:18:16 +03:00
levlam
ebebe0300c Move promise_send_closure to PromiseFuture.h. 2022-06-28 14:02:14 +03:00
levlam
32bac7bd24 Move Promise to tdutils. 2022-06-27 13:30:18 +03:00
levlam
513da45a8f Use free-standing function to create event promises. 2022-06-27 02:57:56 +03:00
levlam
f62632fcbc Remove rarely used PromiseCreator::lambda with 2 lambdas. 2022-06-26 17:11:27 +03:00
levlam
3dcafdc873 Improve log messages. 2022-06-25 21:22:02 +03:00
levlam
63d5a1f32a Fix check. 2022-06-25 21:15:03 +03:00
levlam
08e60886f7 Fix promise set in updates proxessing. 2022-06-25 09:26:30 +03:00
levlam
e0605b2013 Add td_api::assignAppStoreTransaction. 2022-06-24 18:14:00 +03:00
levlam
2144d8fcd0 Add td_api::assignGooglePlayTransaction. 2022-06-24 17:27:03 +03:00
levlam
44cf826142 Fix Like filter icon. 2022-06-24 17:07:48 +03:00
levlam
9e13745487 Add td_api::canPurchasePremium. 2022-06-24 17:07:10 +03:00
levlam
7153a17bd7 Don't check full local locations after loading file from database. 2022-06-24 14:59:42 +03:00
levlam
c4690c9ed3 Add more logging. 2022-06-24 14:59:02 +03:00
levlam
e2acc0ddab Support 7 new filter icons. 2022-06-24 14:27:49 +03:00
levlam
c51f283332 Improve logging. 2022-06-24 13:44:54 +03:00
levlam
d29d508b84 Avoid MultiPromise usage if there is only one update to process. 2022-06-23 22:00:48 +03:00
levlam
638b4346ca Remove separate MessagesManager::on_update_scheduled_message_id. 2022-06-23 17:05:43 +03:00
levlam
3659842864 Fix updateNotificationGroup. 2022-06-23 16:36:58 +03:00
levlam
6572d02dbd Use current time as update date if it is unknown. 2022-06-23 14:06:06 +03:00
levlam
3f763f6fc5 Add more logging. 2022-06-22 16:15:56 +03:00
levlam
375d3d23fb Fix handling of stickerSetNotModified. 2022-06-21 17:34:24 +03:00
levlam
b393215d66 Forget local polls only by timeout. 2022-06-21 03:35:54 +03:00
levlam
86c130a462 Minor fixes. 2022-06-21 02:55:53 +03:00
levlam
ee926f86a3 Move directory creation and database check to another thread. 2022-06-21 02:02:48 +03:00
levlam
1528cfb9da Add get_database_scheduler_id(). 2022-06-20 22:02:45 +03:00
levlam
854b67d1e3 Add and increase cache version for AttachMenuBot. 2022-06-20 19:56:04 +03:00
levlam
16c01b5690 Support Web App placeholder for attach menu bots. 2022-06-20 19:31:04 +03:00
levlam
54fea1a8c5 Reload ChatFull with outdated photo. 2022-06-20 18:40:13 +03:00
levlam
f3792b15a3 Fix log formatting. 2022-06-20 17:56:06 +03:00
levlam
21d8ba2f41 Ignore authorization loss errors while logging out. 2022-06-20 17:43:08 +03:00
levlam
49bd383b35 Immediately forget local polls after sending. 2022-06-20 16:53:28 +03:00
levlam
71573fd320 Add themeParameters.secondary_background_color. 2022-06-20 16:15:09 +03:00
levlam
9fb347fd56 Avoid config reload on start. 2022-06-20 14:34:00 +03:00
Arseny Smirnov
8ac019e589 trying to fix bug when active temporary auth key is dropped 2022-06-20 13:18:25 +02:00
levlam
7eabd8ca60 Update version to 1.8.4. 2022-06-19 19:51:00 +03:00
levlam
b6019f25e4 Improve sticker order for trending sticker sets. 2022-06-18 11:16:32 +03:00
levlam
f1247493c5 Add class trendingStickerSets. 2022-06-17 19:16:17 +03:00
levlam
dc8903fc71 Allow to get stcikerSetInfo with preferred premium stickers. 2022-06-17 08:59:54 +03:00
levlam
762b1577e9 Add StickersManager::split_stickers_by_premium. 2022-06-16 21:12:20 +03:00
levlam
80df1e2968 Add notificationTypeNewMessage.show_preview. 2022-06-16 18:54:50 +03:00