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 |
|
levlam
|
1cbfec9de9
|
Add pushMessageContentRecurringPayment.
|
2022-06-16 16:42:36 +03:00 |
|
levlam
|
e2b0c8bdc2
|
Make links clickable in product description.
|
2022-06-16 16:11:24 +03:00 |
|
levlam
|
97d82e8edb
|
Unlink files in FileLoadManager thread.
|
2022-06-16 13:32:14 +03:00 |
|
levlam
|
a1c3e09378
|
Log only unhandled file errors.
|
2022-06-16 13:07:31 +03:00 |
|
levlam
|
ed7b8f3a19
|
Move read_file_part to FileLoadManager thread.
|
2022-06-16 00:25:47 +03:00 |
|
levlam
|
62a97d8eb6
|
Simplify FileLoadManager::get_content.
|
2022-06-15 21:40:23 +03:00 |
|
levlam
|
4afe67c18b
|
Reuse get_gc_scheduler_id.
|
2022-06-15 20:32:42 +03:00 |
|
levlam
|
388f3d0454
|
Lazily create file directories.
|
2022-06-15 16:23:46 +03:00 |
|
levlam
|
bdd70379f1
|
Simplify usage of create_from_temp and search_file.
|
2022-06-14 21:09:07 +03:00 |
|
levlam
|
dcb77ce187
|
Drop SemaphoreActor context.
|
2022-06-14 16:30:09 +03:00 |
|
levlam
|
782aa6a2ec
|
Minor fixes.
|
2022-06-14 16:11:38 +03:00 |
|
levlam
|
f12da0fed5
|
Move payment form URL to paymentProviderOther.
|
2022-06-13 17:02:47 +03:00 |
|
levlam
|
132ccfb289
|
Add paymentProviderSmartGlocal.
|
2022-06-13 16:50:25 +03:00 |
|
levlam
|
28822af866
|
Fix is_premium_available.
|
2022-06-13 16:19:14 +03:00 |
|
levlam
|
63e55553f5
|
Improve stickers order in getStickers.
|
2022-06-10 14:31:28 +03:00 |
|
levlam
|
59620b0e7d
|
Add internal premium stickers options.
|
2022-06-10 13:04:46 +03:00 |
|
levlam
|
70f4e9d3cc
|
Avoid expected logging for failed secret chats.
|
2022-06-09 19:10:38 +03:00 |
|
levlam
|
83fdbd7859
|
Move some AvailableReaction methods to AvailableReaction.h.
|
2022-06-09 01:48:39 +03:00 |
|
levlam
|
cb98c0a10a
|
Add class AvailableReaction.
|
2022-06-09 01:07:53 +03:00 |
|
levlam
|
2570044eba
|
Return, whether available reaction needs premium.
|
2022-06-08 17:34:13 +03:00 |
|
levlam
|
6f7a62efa6
|
Apply user changes in GetPremiumPromoQuery.
|
2022-06-08 15:50:11 +03:00 |
|
levlam
|
09a39b4cb3
|
Ensure that parsed file size isn't negative.
|
2022-06-08 03:55:27 +03:00 |
|
levlam
|
848093c0c4
|
Check files of any size by hash.
|
2022-06-08 03:50:23 +03:00 |
|
levlam
|
b0b98f8f83
|
Return bio as formatted text.
|
2022-06-07 18:28:19 +03:00 |
|
levlam
|
9570a39a60
|
Actually parse value of "premium_purchase_blocked".
|
2022-06-07 17:22:58 +03:00 |
|
levlam
|
f48fd19e98
|
Fix is_premium flag.
|
2022-06-07 17:21:45 +03:00 |
|
levlam
|
dba308951a
|
Add comments for entity type priorities.
|
2022-06-06 20:44:44 +03:00 |
|
levlam
|
bfcf52f87c
|
Support MTPROTO_CLUSTER_INVALID error.
|
2022-06-06 20:36:15 +03:00 |
|
levlam
|
08e09160d6
|
Return animations instead of videos in premiumState.
|
2022-06-06 18:50:50 +03:00 |
|
levlam
|
157878f47e
|
Fix reply_in_dialog_id.
|
2022-06-06 18:01:44 +03:00 |
|
levlam
|
fc2a95cac6
|
Avoid expected error logging.
|
2022-06-06 17:44:38 +03:00 |
|
levlam
|
470563c289
|
Improve log messages.
|
2022-06-06 17:13:56 +03:00 |
|
levlam
|
a5f161849b
|
tg_cli: fix InputInvoice.
|
2022-06-06 17:11:43 +03:00 |
|
levlam
|
d626110e43
|
Add "is_premium_available" option.
|
2022-06-06 15:01:58 +03:00 |
|
levlam
|
444d083f48
|
Add td_api::getPremiumStickers.
|
2022-06-03 18:16:12 +03:00 |
|
levlam
|
e81424ee86
|
Fix warning message.
|
2022-06-03 17:35:23 +03:00 |
|
levlam
|
8fae960e43
|
Support premium stickers in secret chats.
|
2022-06-03 17:31:48 +03:00 |
|
levlam
|
8b9bed6a0b
|
Add messageSticker.is_premium.
|
2022-06-03 16:33:49 +03:00 |
|
levlam
|
1e417ea212
|
Minor fixes.
|
2022-06-02 16:19:16 +03:00 |
|
levlam
|
5c7f842f72
|
Actually support targetChatChosen.
|
2022-06-01 18:35:34 +03:00 |
|
levlam
|
8c59d4bd6d
|
Improve td_api::internalLinkTypeAttachmentMenuBot.
|
2022-06-01 18:06:49 +03:00 |
|
levlam
|
9aac7a4d0c
|
Add td_api::premiumFeatureAppIcons.
|
2022-06-01 17:19:05 +03:00 |
|
levlam
|
dfe067e52e
|
Add supported chat types to internalLinkTypeAttachmentMenuBot.
|
2022-06-01 17:12:53 +03:00 |
|
levlam
|
7092674c05
|
Add td_api::getPremiumState.
|
2022-06-01 15:14:09 +03:00 |
|
levlam
|
969322f32d
|
Use capital first letters in "Web App".
|
2022-05-31 18:00:09 +03:00 |
|
levlam
|
f189351397
|
Add attachMenuBot.supports_settings.
|
2022-05-31 17:57:57 +03:00 |
|
levlam
|
6d0e57a8c5
|
Add is_recurring flags to messagePaymentSuccessful.
|
2022-05-30 16:35:25 +03:00 |
|
levlam
|
b1b532b818
|
Add invoice.recurring_payment_terms_of_service_url.
|
2022-05-30 16:09:50 +03:00 |
|
levlam
|
3b4b276737
|
Add chatPhoto.small_animation.
|
2022-05-30 04:01:55 +03:00 |
|
levlam
|
42ab42c83a
|
Add bio_length_max option.
|
2022-05-30 03:23:21 +03:00 |
|
levlam
|
549b86371d
|
Add premiumLimitTypeBioLength.
|
2022-05-30 02:20:12 +03:00 |
|
levlam
|
677c5795a3
|
Cancel speech recognition by timeout.
|
2022-05-27 19:07:37 +03:00 |
|
levlam
|
b56b778660
|
Add rateSpeechRecognition.
|
2022-05-26 20:40:43 +03:00 |
|
levlam
|
d9a9693747
|
Support updateTranscribeAudio.
|
2022-05-25 21:48:31 +03:00 |
|
levlam
|
151654eeea
|
Add td_api::recognizeSpeech
|
2022-05-25 21:18:40 +03:00 |
|
levlam
|
de4d3e7620
|
Register voice note messages.
|
2022-05-25 19:39:15 +03:00 |
|
levlam
|
44832189e3
|
Add voiceNote.recognized_text
|
2022-05-25 19:24:40 +03:00 |
|
levlam
|
e1cf18f1cc
|
Support chatInvitePublicJoinRequests.
|
2022-05-25 17:17:14 +03:00 |
|
levlam
|
59e926350e
|
Add source to DialogInviteLink constructor.
|
2022-05-25 16:31:17 +03:00 |
|
levlam
|
f443cec9bc
|
Add clickPremiumSubscriptionButton.
|
2022-05-25 15:34:36 +03:00 |
|
levlam
|
242776e817
|
Add td_api::viewPremiumFeature.
|
2022-05-24 20:45:03 +03:00 |
|
levlam
|
987c9487df
|
Improve documentation.
|
2022-05-24 20:17:51 +03:00 |
|
levlam
|
e2ce1a64c7
|
Add payment_link to premiumFeatures.
|
2022-05-24 16:30:01 +03:00 |
|
levlam
|
38be1031bc
|
Add internal "premium_bot_username" and "premium_invoice_slug" options.
|
2022-05-24 16:14:25 +03:00 |
|
levlam
|
7c7aa3d2de
|
Save app log event in getPremiumFeatures.
|
2022-05-24 15:42:46 +03:00 |
|
levlam
|
f408c663df
|
Remove "_limit" suffix from premium limit keys.
|
2022-05-24 02:59:11 +03:00 |
|
levlam
|
49b13c737f
|
Add td_api::getPremiumLimit.
|
2022-05-24 02:55:03 +03:00 |
|
levlam
|
2d90ccc1bc
|
Allow to specify source in getPremiumFeatures.
|
2022-05-24 02:19:30 +03:00 |
|
levlam
|
ab4a5d7499
|
Move get_premium_features to Premium.h.
|
2022-05-24 01:36:55 +03:00 |
|
levlam
|
23e9f03d70
|
Reuse get_premium_limit_keys.
|
2022-05-24 01:31:30 +03:00 |
|
levlam
|
7313ad311b
|
Move get_premium_limit_keys to Premium.h.
|
2022-05-24 01:21:03 +03:00 |
|
levlam
|
2c44f8c273
|
Add internalLinkTypePremiumFeatures.
|
2022-05-23 20:37:15 +03:00 |
|
levlam
|
d986c9bc27
|
Add option "chat_filter_chosen_chat_count_max".
|
2022-05-23 20:04:36 +03:00 |
|
levlam
|
c584b48c10
|
Replace MAX_INCLUDED_FILTER_DIALOGS with a function.
|
2022-05-23 19:04:09 +03:00 |
|
levlam
|
ef28bae155
|
Document the ability to increase limits with Telegram Premium.
|
2022-05-23 18:52:01 +03:00 |
|
levlam
|
e336819ac8
|
Add and use "chat_filter_count_max" option.
|
2022-05-23 18:26:54 +03:00 |
|
levlam
|
d87cd52b68
|
Return information about increased limits for Premium users.
|
2022-05-23 17:47:06 +03:00 |
|
levlam
|
2166f80ccb
|
Add td_api::getPremiumFeatures.
|
2022-05-23 15:56:31 +03:00 |
|
levlam
|
e9a8d43a0a
|
Add td_api::getAllAnimatedEmojis.
|
2022-05-23 14:05:35 +03:00 |
|
levlam
|
4e8e95c81c
|
Expect empty input media for a file too big to be sent to a secret chat.
|
2022-05-20 16:31:41 +03:00 |
|
levlam
|
0bc767f943
|
Pass max_resource_limit as parameter to ResourceManager.
|
2022-05-20 16:11:31 +03:00 |
|
levlam
|
3886e9e644
|
Update config after premium has changed.
|
2022-05-20 15:20:54 +03:00 |
|
levlam
|
2f186a9eeb
|
Allow to change position of main chat list for premium users.
|
2022-05-19 21:19:06 +03:00 |
|
levlam
|
9f8de1d146
|
Add main_chat_list_position to updateChatFilters.
|
2022-05-19 16:57:11 +03:00 |
|
levlam
|
d4b6d08268
|
Add is_premium option.
|
2022-05-19 15:28:06 +03:00 |
|
levlam
|
63d607c6c3
|
Improve rescheduling of scheduled messages with replies.
|
2022-05-18 21:11:28 +03:00 |
|
levlam
|
647374a33f
|
Keep replies in forwarded scheduled messages.
|
2022-05-18 20:40:44 +03:00 |
|
levlam
|
9092c58af7
|
Update replied message identifier in delete_sent_message_on_server.
|
2022-05-18 19:10:48 +03:00 |
|
levlam
|
8a9ea2899b
|
Allow only HTTPS links as login URL.
|
2022-05-13 14:29:32 +03:00 |
|
levlam
|
e28828fb97
|
Add user.added_to_attachment_menu flag.
|
2022-05-11 19:30:35 +03:00 |
|
levlam
|
4ef4933536
|
Add optional invoice name to messagePaymentSuccessful.
|
2022-05-11 18:52:45 +03:00 |
|
levlam
|
0909f88bc3
|
Use int53 for file size in TDLib API.
|
2022-05-11 17:17:20 +03:00 |
|
levlam
|
880a582959
|
Add layer 143 to secret chats.
|
2022-05-11 07:46:06 +03:00 |
|
levlam
|
81a8f832d3
|
Support 64-bit file size in server-side API.
|
2022-05-10 17:13:16 +03:00 |
|
levlam
|
4ba68b5672
|
Fix bot description photo.
|
2022-05-07 23:17:04 +03:00 |
|
levlam
|
0da61037d3
|
Support recommended sponsored messages.
|
2022-05-07 12:12:16 +03:00 |
|
levlam
|
412404a721
|
Support TCP reflectors.
|
2022-05-07 11:42:48 +03:00 |
|
levlam
|
0a280c5b0d
|
Support alternative form of invoice links.
|
2022-05-07 11:28:25 +03:00 |
|
levlam
|
1970f65f56
|
Add td_api::createInvoiceLink.
|
2022-05-06 16:37:11 +03:00 |
|
levlam
|
0fbafead84
|
Add product title, description and photo to payment form information.
|
2022-05-06 13:59:16 +03:00 |
|
levlam
|
7166836c1a
|
Add td_api::InputInvoice.
|
2022-05-03 18:50:29 +03:00 |
|
levlam
|
464ef38806
|
Add internalLinkTypeInvoice.
|
2022-05-03 17:19:22 +03:00 |
|
levlam
|
7cd74e2660
|
Add user.is_premium flag.
|
2022-05-02 16:23:48 +03:00 |
|
levlam
|
d351636c83
|
Store unmodified server join_to_send/join_request flags.
|
2022-05-02 15:45:35 +03:00 |
|
levlam
|
ad8a2d2296
|
Reload channel after receiving CHAT_GUEST_SEND_FORBIDDEN.
|
2022-04-29 18:36:41 +03:00 |
|
levlam
|
90287d65ed
|
Add methods for toggling join_to_send_messages and join_by_request.
|
2022-04-29 18:25:29 +03:00 |
|
levlam
|
1d1a9584a1
|
Add supergroup.join_to_send_messages/join_by_request.
|
2022-04-29 17:54:28 +03:00 |
|
levlam
|
e528558300
|
Add chat flags to attachmentMenuBot.
|
2022-04-26 18:59:08 +03:00 |
|
levlam
|
2345933422
|
Fix chat to send messages as from a web app.
|
2022-04-26 17:13:31 +03:00 |
|
levlam
|
447cfbfb1d
|
Support premium stickers.
|
2022-04-26 16:01:29 +03:00 |
|
levlam
|
f8077965ad
|
Support premium reactions.
|
2022-04-26 14:40:06 +03:00 |
|
levlam
|
61409736ad
|
Support photo and animation in botInfo.
|
2022-04-19 22:56:58 +03:00 |
|
levlam
|
cfc20397a0
|
Update layer to 143.
|
2022-04-19 17:43:24 +03:00 |
|
levlam
|
047246f366
|
Fix CHECK.
|
2022-06-12 16:03:53 +03:00 |
|
levlam
|
f93001b0f3
|
Minor handhake semaphore improvements.
|
2022-06-11 01:47:00 +03:00 |
|
levlam
|
caf84b01b7
|
Fix database init.
|
2022-06-10 19:05:43 +03:00 |
|
Arseny Smirnov
|
2171452e77
|
init TdDb in db thread
|
2022-06-10 16:11:06 +02:00 |
|
levlam
|
f95f76c4de
|
Support asynchronous TdDb::open.
|
2022-06-10 16:44:53 +03:00 |
|
Arseny Smirnov
|
ef3900a853
|
Use SemaphoreActor for global hanshakes flood limit
|
2022-06-10 15:17:38 +02:00 |
|
levlam
|
1b5798393d
|
Move FloodControlGlobal to tdutils.
|
2022-06-09 17:12:59 +03:00 |
|
levlam
|
a30ac1c277
|
Minor improvements.
|
2022-06-09 16:38:38 +03:00 |
|
Arseny Smirnov
|
7941672e79
|
add some kind of global limit for concurrent hanshakes
|
2022-06-09 11:10:38 +02:00 |
|
levlam
|
1cace9e666
|
Ensure that message chat photo is not null.
|
2022-06-05 22:51:13 +03:00 |
|
levlam
|
82c9d538ce
|
Ensure that photo is not null.
|
2022-06-05 22:39:03 +03:00 |
|
levlam
|
cfe5c4a43b
|
Ensure that strings passed to TDLib's log message callback are UTF-8 encoded.
|
2022-06-04 14:57:29 +03:00 |
|
levlam
|
a8e8136f34
|
Improve DialogParticipantStatus logging.
|
2022-06-04 13:58:08 +03:00 |
|
levlam
|
e86b323de9
|
Fix warning.
|
2022-06-03 12:29:31 +03:00 |
|
levlam
|
492a84d52b
|
Fix setting first_database_message_id.
|
2022-06-03 02:29:10 +03:00 |
|
levlam
|
1c0205c1be
|
Improve log message.
|
2022-06-03 02:12:26 +03:00 |
|
levlam
|
014b458425
|
Add Dimensions.h.
|
2022-06-02 17:52:12 +03:00 |
|
levlam
|
4bd6bd377b
|
Fix empty chatAdministrators object creation.
|
2022-06-02 16:34:05 +03:00 |
|
levlam
|
3ae2ec38c5
|
Always reload scope notification settings.
|
2022-05-31 17:18:27 +03:00 |
|
levlam
|
72f3288bec
|
Add source to get_history_from_the_end_impl.
|
2022-05-31 16:33:37 +03:00 |
|
levlam
|
ab6f2bd52f
|
Remove logging of owner_dialog_id.
|
2022-05-31 16:19:08 +03:00 |
|
levlam
|
cd458ce522
|
Improve log message.
|
2022-05-31 16:10:11 +03:00 |
|
levlam
|
dc8d94383a
|
Call get_message_id once in on_get_history.
|
2022-05-31 15:56:38 +03:00 |
|
levlam
|
bcea804864
|
Keep chat position if failed to add last message to it.
|
2022-05-31 15:39:41 +03:00 |
|
levlam
|
1c2ff4fd5a
|
Add note that log messages aren't guaranteed to be encoded in UTF-8.
|
2022-05-31 15:16:34 +03:00 |
|
levlam
|
b4a643cffd
|
Simplify file size error creation.
|
2022-05-31 15:12:40 +03:00 |
|
levlam
|
a282cce5d4
|
Add and use utf8_encode.
|
2022-05-31 15:08:16 +03:00 |
|
levlam
|
bf0caca138
|
Simplify LinkManager::check_link usage.
|
2022-05-31 01:41:01 +03:00 |
|
levlam
|
de34ffb530
|
Always use error code 400 in SecureValue processing errors.
|
2022-05-30 22:59:59 +03:00 |
|
levlam
|
63a4027ab2
|
Add source to on_get_poll.
|
2022-05-29 19:31:36 +03:00 |
|
levlam
|
5b089ee762
|
Log original decrypted message version without local replacements.
|
2022-05-28 23:44:41 +03:00 |
|
levlam
|
d2c6e7726f
|
Avoid fixing last_new_message_id to yet_unsent message in secret chats.
|
2022-05-26 18:51:22 +03:00 |
|
levlam
|
c0890a5f8a
|
Improve error message.
|
2022-05-26 18:35:16 +03:00 |
|
levlam
|
c3f9904052
|
Don't send typings about copied messages.
|
2022-05-26 17:44:14 +03:00 |
|
levlam
|
43e51f8f65
|
Explicitly process reaction notifications as unsupported.
|
2022-05-26 17:23:52 +03:00 |
|
levlam
|
a90dd653af
|
Avoid logging to error if invalid dimensions were provided by app.
|
2022-05-26 17:13:31 +03:00 |
|
levlam
|
f8951e6154
|
Improve log message.
|
2022-05-26 17:01:47 +03:00 |
|
levlam
|
a136ee5caa
|
Locally search for short usernames, beginning with @.
|
2022-05-26 16:53:32 +03:00 |
|
levlam
|
0c839c8169
|
Ignore QUERY_TOO_SHORT errors.
|
2022-05-26 16:38:37 +03:00 |
|
levlam
|
ccbb9183c8
|
Don't try to load administrators in left basic groups.
|
2022-05-26 16:02:14 +03:00 |
|
levlam
|
38b56792cd
|
Reload group call if number of members became negative.
|
2022-05-26 15:32:15 +03:00 |
|
levlam
|
980c4f9f71
|
Silence expected warning.
|
2022-05-26 15:21:56 +03:00 |
|
levlam
|
7962df5e35
|
Fix poll unload.
|
2022-05-26 14:44:30 +03:00 |
|
levlam
|
c5dfa59782
|
Fix MessagesManager::can_delete_dialog.
|
2022-05-24 17:41:32 +03:00 |
|
levlam
|
80f3c88bdb
|
Move get_invite_text and save_app_log to Application.cpp.
|
2022-05-24 14:56:02 +03:00 |
|
levlam
|
d04552045d
|
Add warnings about long application of postponed updates.
|
2022-05-22 22:09:46 +03:00 |
|
levlam
|
15a11d7053
|
Move expected logging about secret chat updates to INFO.
|
2022-05-21 23:07:28 +03:00 |
|
levlam
|
c2a580bbfb
|
Don't try to reload data without authorization.
|
2022-05-20 16:59:14 +03:00 |
|
levlam
|
9c9a74c52d
|
Workaround GCC 7.4.0 false warning.
|
2022-05-19 19:50:02 +03:00 |
|
levlam
|
16959e33e4
|
Use WaitFreeHashMap for message_id_to_dialog_id_.
|
2022-05-19 19:34:48 +03:00 |
|
levlam
|
18cd0dd95e
|
Workaround GCC 12 false positive warnings.
|
2022-05-18 16:59:15 +03:00 |
|
levlam
|
1616513c4c
|
Add and use MessagesManager::is_deleted_message.
|
2022-05-18 12:16:32 +03:00 |
|
levlam
|
e65c0827a4
|
Drop dangling replies to yet unsent messages.
|
2022-05-17 16:27:46 +03:00 |
|
levlam
|
0bf2aaf4f2
|
Resolve identifiers of being added secret messages by their random_id.
|
2022-05-17 16:19:39 +03:00 |
|
levlam
|
19407656b5
|
Add more logging and don't set unused message flags.
|
2022-05-17 15:30:58 +03:00 |
|
levlam
|
f53f750b39
|
Change replied message ID from yet unsent to persistent after the message is sent.
|
2022-05-17 15:06:40 +03:00 |
|
levlam
|
bf37753056
|
Keep reply_to_message_id for forwards to secret chats.
|
2022-05-16 21:10:18 +03:00 |
|
levlam
|
8f42c97252
|
Fix CHECK.
|
2022-05-16 20:00:59 +03:00 |
|
levlam
|
26ceefb2d4
|
Keep reply_to_message_id for yet unsent messages between restarts.
|
2022-05-16 19:47:06 +03:00 |
|
levlam
|
190117c839
|
Add local reply_to_message_id to forwarded by the server messages.
|
2022-05-16 18:11:49 +03:00 |
|
levlam
|
b6c7da172c
|
Log received messages.
|
2022-05-15 18:37:55 +03:00 |
|
levlam
|
883f6d2286
|
Copy can_be_deleted flag to Channel to avoid ChannelFull loading.
|
2022-05-15 12:48:22 +03:00 |
|
levlam
|
5a1a64764b
|
Add check that there are no two new chats added simultaneously.
|
2022-05-15 10:53:06 +03:00 |
|
levlam
|
70050704d2
|
Remove unimplemented UploadCallback::on_progress.
|
2022-05-15 01:13:07 +03:00 |
|
levlam
|
b42c74f561
|
Minor OptionManager::set_option improvements.
|
2022-05-14 20:09:08 +03:00 |
|
levlam
|
514ffd7e77
|
Minor ConfigShared improvements.
|
2022-05-14 19:59:11 +03:00 |
|
levlam
|
c17520fdbc
|
Implement getSupportUser with request promise instead of RequestActor.
|
2022-05-14 18:54:21 +03:00 |
|
levlam
|
1995cbe6bc
|
Simplify getSupportUser implementation.
|
2022-05-14 18:29:34 +03:00 |
|
levlam
|
941206495a
|
Reload data once an hour.
|
2022-05-13 13:56:18 +03:00 |
|
levlam
|
de5f047dba
|
Remove all emoji modifiers, including modifiers in the middle.
|
2022-05-12 18:02:27 +03:00 |
|
levlam
|
f1f6e61cd1
|
Reload all data when going online.
|
2022-05-12 16:40:53 +03:00 |
|
levlam
|
6790c309ac
|
Move data reloading to UpdatesManager.
|
2022-05-12 16:34:13 +03:00 |
|
levlam
|
6f8b513597
|
Improve log message.
|
2022-05-12 15:18:07 +03:00 |
|
levlam
|
c0eb211476
|
Locally fix until_date before sending it to the server.
|
2022-05-12 14:38:45 +03:00 |
|
levlam
|
f9f309d334
|
Simplify SecretInputMedia creation.
|
2022-05-11 01:53:18 +03:00 |
|
levlam
|
35a0a7c383
|
Ignore empty next_offset in group calls with new participants added to the end of the list.
|
2022-05-10 21:48:06 +03:00 |
|
levlam
|
f972b3ad56
|
Add separate function for server group call participant order calculation.
|
2022-05-10 21:37:10 +03:00 |
|
levlam
|
c44c0f3fd3
|
Show unmuted group call participants first.
|
2022-05-10 21:26:58 +03:00 |
|
levlam
|
661c75fa42
|
Log number of group call updates to be processed.
|
2022-05-10 21:02:03 +03:00 |
|
levlam
|
71d5dd526e
|
Separately register scheduled and local polls.
|
2022-05-09 01:58:17 +03:00 |
|
levlam
|
77019caf61
|
Unload unused for some time polls.
|
2022-05-09 01:46:46 +03:00 |
|
levlam
|
3d796860d2
|
Use server-side forward as copy.
|
2022-05-08 23:54:04 +03:00 |
|
levlam
|
995b06b317
|
Drop ChatFull/ChannelFull photo after updating chat/channel photo.
|
2022-05-06 12:41:55 +03:00 |
|
levlam
|
0a91c2b097
|
Remove unused argument.
|
2022-05-05 23:07:42 +03:00 |
|
levlam
|
ab3a8282d4
|
Add warning when receive inconsistent photos in chatPhoto and chatPhotoInfo.
|
2022-05-04 20:08:32 +03:00 |
|
levlam
|
bf05cf1680
|
Update user photo from user full photo.
|
2022-05-04 20:02:35 +03:00 |
|
levlam
|
1191f13f91
|
Fix compilation error.
|
2022-05-04 17:17:40 +03:00 |
|
levlam
|
fc6b1c0ea8
|
Enable back log out.
|
2022-05-03 16:31:58 +03:00 |
|
Arseny Smirnov
|
852fe4f24b
|
Session: force ack when we received unknown answer
|
2022-05-03 17:17:36 +04:00 |
|
levlam
|
fb1efdbba8
|
Return back notification.is_silent.
|
2022-05-03 16:09:40 +03:00 |
|
levlam
|
4b7dab920e
|
Don't update last_success_timestamp_ in Session::on_update with PFS.
|
2022-05-03 16:06:14 +03:00 |
|
Arseny Smirnov
|
0450b05757
|
Session: improve key immunity condition
|
2022-05-03 16:33:09 +04:00 |
|
levlam
|
0d0b641ac6
|
Log out only if there is main auth key, but it isn't logged in.
|
2022-05-02 21:41:04 +03:00 |
|
levlam
|
d95b20b631
|
Try not to override "auth" option.
|
2022-05-02 21:20:39 +03:00 |
|
levlam
|
de15cdb1f0
|
Log out if key check has failed.
|
2022-05-02 21:17:06 +03:00 |
|
levlam
|
746816e7d7
|
Add Global::log_out helper.
|
2022-05-02 20:59:07 +03:00 |
|
levlam
|
d6569d43fd
|
Fix DcAuthManager::check_authorization_is_ok.
|
2022-05-02 20:44:37 +03:00 |
|
levlam
|
134b7e7d01
|
Remove unused function.
|
2022-05-02 20:35:37 +03:00 |
|
Arseny Smirnov
|
449974d425
|
Double check authorization during start up
|
2022-05-02 19:34:01 +04:00 |
|
levlam
|
3886cc9c13
|
Minor SessionType improvements.
|
2022-05-02 13:54:22 +03:00 |
|
alyral
|
76d687e62d
|
Add session type field (#1950)
|
2022-05-02 13:46:16 +03:00 |
|
levlam
|
4652292037
|
Use count instead of find if appropriate.
|
2022-05-01 23:03:06 +03:00 |
|
levlam
|
00aa9f54bd
|
Use ContactsManager::get_dialog_id in on_get_common_dialogs.
|
2022-04-30 21:22:27 +03:00 |
|
levlam
|
68ad0b4317
|
Add ContactsManager::get_dialog_id.
|
2022-04-30 21:13:01 +03:00 |
|
levlam
|
f2dead72ca
|
Use can_delete_dialog in delete_dialog_history.
|
2022-04-29 14:50:54 +03:00 |
|
levlam
|
ddbfc45925
|
Add MessagesManager::can_delete_dialog.
|
2022-04-29 14:33:35 +03:00 |
|
levlam
|
834a541bc3
|
Add apply_pending_user_photo and use it in on_get_user_full.
|
2022-04-29 11:23:27 +03:00 |
|
levlam
|
3cdd08feef
|
Add missing flag assignment.
|
2022-04-29 11:02:53 +03:00 |
|
levlam
|
6a87f0c6ef
|
Avoid updating chat photo minithumbnail to 40x40 full minithumbnail.
|
2022-04-29 10:50:10 +03:00 |
|
levlam
|
58ff3d5e5d
|
Ignore photo size for fake dialog photo.
|
2022-04-28 22:29:10 +03:00 |
|
levlam
|
840cedf49c
|
Drop ChatFull/ChannelFull photos if chat/channel photo is different.
|
2022-04-28 21:18:57 +03:00 |
|
levlam
|
f421cff7f3
|
Add and use is_same_dialog_photo.
|
2022-04-28 21:02:44 +03:00 |
|
levlam
|
d106148618
|
Update chat/channel photo whenever receive new full chat/channel photo.
|
2022-04-28 20:35:44 +03:00 |
|
levlam
|
b6f711044f
|
Add as_dialog_photo.
|
2022-04-28 20:33:24 +03:00 |
|
levlam
|
cdd82c67c9
|
Unify update variable names.
|
2022-04-28 18:39:05 +03:00 |
|
levlam
|
576c96a83d
|
Reload number of unread reactions after receive new edited message.
|
2022-04-28 18:31:25 +03:00 |
|
levlam
|
ad65446480
|
Reget unread reaction count when receive update about unread reaction on unknown message.
|
2022-04-28 17:43:29 +03:00 |
|
levlam
|
36c2ef9e62
|
Ensure that the current user is among recent choosers of the chosen reaction.
|
2022-04-27 22:13:05 +03:00 |
|
levlam
|
ee157920e9
|
Expect that it is not possible to see added reactions under discussion messages.
|
2022-04-27 21:47:50 +03:00 |
|
levlam
|
7cabdbc74f
|
Improve flags initialization in do_forward_messages.
|
2022-04-27 10:02:35 +03:00 |
|
levlam
|
ea66c0984f
|
Return encrypted secure file if can't decrypt it.
|
2022-04-27 02:39:00 +03:00 |
|
levlam
|
5cb83bd340
|
Suppress expected error logging.
|
2022-04-27 02:14:44 +03:00 |
|
levlam
|
11fa9dbb34
|
Remove unused function.
|
2022-04-26 16:19:37 +03:00 |
|
levlam
|
dc79b35570
|
Check for duplicate calls to init().
|
2022-04-26 02:06:35 +03:00 |
|
levlam
|
17275fe422
|
Output the number of objects to be freed on closing.
|
2022-04-25 20:52:44 +03:00 |
|
levlam
|
641ee080c1
|
Improve names of FileType::Secure.
|
2022-04-25 19:00:40 +03:00 |
|
levlam
|
69eb286067
|
Avoid expected logging.
|
2022-04-25 17:59:42 +03:00 |
|
levlam
|
a7bd57a793
|
Add checks for file_id/file_node_id overflow.
|
2022-04-25 17:33:31 +03:00 |
|
levlam
|
61942cf3ea
|
Remove unneeded bool initializations in parsers.
|
2022-04-24 22:43:43 +03:00 |
|
levlam
|
3bd99f98b8
|
Add limit on text length in parseTextEntities.
|
2022-04-23 01:36:44 +03:00 |
|
levlam
|
13bd8044cf
|
Add source to send_update_chat_unread_reaction_count.
|
2022-04-23 01:14:51 +03:00 |
|
levlam
|
0511b962b9
|
Actually upload file in sendCallLog.
|
2022-04-22 18:17:36 +03:00 |
|
levlam
|
af97e963a9
|
Add td_api::sendCallLog.
|
2022-04-22 15:16:09 +03:00 |
|
levlam
|
1f4890c906
|
tg_cli: add class GroupCallId.
|
2022-04-22 14:50:52 +03:00 |
|
levlam
|
849125265c
|
tg_cli: add CallId class.
|
2022-04-22 14:44:53 +03:00 |
|
levlam
|
f76a9660ed
|
Add can_reuse_remote_file to FileType.cpp.
|
2022-04-22 14:28:51 +03:00 |
|
levlam
|
f396cadc1a
|
Add FileType::CallLog.
|
2022-04-21 22:34:26 +03:00 |
|
levlam
|
f6fd1f55cb
|
Add and use get_file_type_class.
|
2022-04-21 22:14:12 +03:00 |
|
levlam
|
7fcd92a622
|
Move is_document_file_type to FileType.cpp.
|
2022-04-21 21:54:33 +03:00 |
|
levlam
|
a91bed2996
|
Add notification sound size and duration checks.
|
2022-04-18 19:08:32 +03:00 |
|
levlam
|
a506382e4b
|
Use '= {}' instead of '= Auto()'.
|
2022-04-18 18:21:41 +03:00 |
|
levlam
|
782670c7db
|
Fix anonymous administrator right.
|
2022-04-17 23:36:37 +03:00 |
|
levlam
|
1a2efed26d
|
Remove NetQuery::set_chain_ids.
|
2022-04-17 23:21:56 +03:00 |
|
levlam
|
402f75153b
|
Improve get_sticker_set_short_name usages.
|
2022-04-17 23:07:00 +03:00 |
|
levlam
|
9b19e88c2a
|
Use file name instead of notification sound title if there is none.
|
2022-04-17 19:01:01 +03:00 |
|
levlam
|
b9036dda3e
|
Don't call get_history_from_the_end for bots.
|
2022-04-17 14:33:34 +03:00 |
|
levlam
|
054a823c1a
|
Update version to 1.8.3.
|
2022-04-16 06:02:10 +03:00 |
|
levlam
|
9c3675d61b
|
Minor fixes.
|
2022-04-16 06:01:05 +03:00 |
|
levlam
|
da4282a6d9
|
Add optional administrator_rights to internalLinkTypeBotStartInGroup.
|
2022-04-16 05:30:23 +03:00 |
|
levlam
|
eef401cea0
|
Save and load saved notification sounds.
|
2022-04-16 04:20:36 +03:00 |
|
levlam
|
6b23333ff4
|
Fix removal of saved ringtone.
|
2022-04-15 22:08:57 +03:00 |
|
levlam
|
147697fdf5
|
Add updateSavedNotificationSounds.
|
2022-04-15 21:54:47 +03:00 |
|
levlam
|
a59201f913
|
Reload all notification sounds if list is changed unpredictably.
|
2022-04-15 21:19:15 +03:00 |
|
levlam
|
1c266d65b1
|
Update notification sound option names.
|
2022-04-15 21:03:13 +03:00 |
|
levlam
|
104ebaaacb
|
Support sound_id in push notifications.
|
2022-04-15 18:49:21 +03:00 |
|
levlam
|
3215bb0242
|
Replace is_silent with sound_id in notifications.
|
2022-04-15 18:36:24 +03:00 |
|
levlam
|
b17a05f3fc
|
Increase MessageUnsupported version to reload web_app buttons.
|
2022-04-15 16:32:12 +03:00 |
|
levlam
|
77532d67f8
|
Support file reference repair for notification sounds.
|
2022-04-15 16:27:30 +03:00 |
|
levlam
|
ff50eec3ee
|
Add notificationSound.date.
|
2022-04-15 15:30:51 +03:00 |
|
levlam
|
497bc9006a
|
Support setting files from secret chats as ringtones.
|
2022-04-15 14:37:01 +03:00 |
|
levlam
|
a16a5ec5e3
|
Support ringtone uploading.
|
2022-04-15 14:07:54 +03:00 |
|
levlam
|
ff6f165551
|
Fix "attachment menu" spelling.
|
2022-04-14 22:56:27 +03:00 |
|
levlam
|
42c6280321
|
Add addSavedNotificationSound.
|
2022-04-14 22:39:25 +03:00 |
|
levlam
|
178d6414dd
|
Add td_api::removeSavedNotificationSound.
|
2022-04-14 14:31:18 +03:00 |
|
levlam
|
f849131873
|
Add getSavedNotificationSound.
|
2022-04-14 13:23:43 +03:00 |
|
levlam
|
dfa38e059d
|
Improve NetQuery debug.
|
2022-04-14 12:53:16 +03:00 |
|
levlam
|
c72ad76b31
|
Clear used promise just in case.
|
2022-04-14 10:55:22 +03:00 |
|
levlam
|
1f18008cc6
|
Add td_api::getSavedNotificationSounds.
|
2022-04-13 22:14:40 +03:00 |
|
levlam
|
7fff2d2e40
|
Reload ringtones after receiving updateSavedRingtones.
|
2022-04-13 20:36:57 +03:00 |
|
levlam
|
163e739302
|
Add set_promises/fail_promises helper functions.
|
2022-04-13 17:40:12 +03:00 |
|
levlam
|
4612910a14
|
Rename notification tones to notification sounds in API,
|
2022-04-12 23:27:20 +03:00 |
|
levlam
|
3378131467
|
Add fileTypeNotificationSound.
|
2022-04-12 22:50:20 +03:00 |
|
levlam
|
c359710cf6
|
Move default options initialization to OptionManager.
|
2022-04-12 18:33:46 +03:00 |
|
levlam
|
7aa5a0e348
|
Add notification tone options.
|
2022-04-12 18:15:45 +03:00 |
|
levlam
|
7dc3966f18
|
Avoid key name duplication in get_json_value_* calls.
|
2022-04-12 18:01:18 +03:00 |
|
levlam
|
1db6fb389c
|
Rename ringtones to notification tones in API,
|
2022-04-12 17:48:24 +03:00 |
|
levlam
|
2696a4abbb
|
Restore failed to delete messages.
|
2022-04-12 17:34:08 +03:00 |
|
levlam
|
295412ed5e
|
Avoid some getChannelFull requests.
|
2022-04-12 16:59:54 +03:00 |
|
levlam
|
879f8da67a
|
Respect flood waits in reregister_device.
|
2022-04-12 16:21:42 +03:00 |
|
levlam
|
877452f6ce
|
Add Global::get_retry_after.
|
2022-04-12 16:12:22 +03:00 |
|
levlam
|
7a2b3abe18
|
Support new NotificationSound.
|
2022-04-11 20:01:44 +03:00 |
|
levlam
|
bb8c4ca42c
|
Fix updating of Dialog.available_reactions_generation.
|
2022-04-11 16:01:30 +03:00 |
|
levlam
|
80d57a493f
|
Move get_input_notify_peer to NotificationSettingsManager.
|
2022-04-11 13:06:16 +03:00 |
|
levlam
|
32ed470417
|
Fix attach menu icons initialization.
|
2022-04-11 12:55:43 +03:00 |
|
levlam
|
9fd72e86d0
|
Move scope notification settings tp NotificationSettingsManager.
|
2022-04-11 12:45:52 +03:00 |
|
levlam
|
61014ce5b0
|
Minor fixes.
|
2022-04-10 22:10:41 +03:00 |
|
levlam
|
88b9f35b91
|
Add PhotoSize.h.
|
2022-04-10 01:15:49 +03:00 |
|
levlam
|
05c0833525
|
Add PhotoFormat.h.
|
2022-04-09 23:21:07 +03:00 |
|
levlam
|
b3a0c1dcda
|
Fix notifications settings of newly created chats.
|
2022-04-08 18:08:06 +03:00 |
|
levlam
|
cb5fe8c7cd
|
Move some related to notification settings methods to NotificationSettingsManager.
|
2022-04-08 17:17:56 +03:00 |
|
levlam
|
161d34fc15
|
Keep in chat list empty joined basic groups.
|
2022-04-08 15:35:21 +03:00 |
|
levlam
|
1302aa2520
|
Fix opening bot from bot menu.
|
2022-04-08 04:09:07 +03:00 |
|
levlam
|
2b3d3c5efd
|
Apply bot menu button update to non-loaded users.
|
2022-04-08 04:02:25 +03:00 |
|
levlam
|
0c9e72a00a
|
Fix error message.
|
2022-04-08 03:48:38 +03:00 |
|
levlam
|
6c0438fc69
|
Minor fixes.
|
2022-04-07 20:38:22 +03:00 |
|
levlam
|
00c64aba6e
|
Remove openWebApp.from_bot_menu flag.
|
2022-04-07 18:29:59 +03:00 |
|
levlam
|
e25ca7ef33
|
Add td_api::setMenuButton.
|
2022-04-07 18:15:58 +03:00 |
|
levlam
|
4155752cdf
|
Add td_api::getMenuButton.
|
2022-04-07 17:20:26 +03:00 |
|
levlam
|
62612b9668
|
Add BotMenuButton.
|
2022-04-06 20:24:54 +03:00 |
|
levlam
|
2a0ff37f76
|
Improve error messages.
|
2022-04-05 19:07:12 +03:00 |
|
levlam
|
317d267241
|
Allow HTTP web app links in test DC.
|
2022-04-05 18:52:22 +03:00 |
|
levlam
|
7e69ef731d
|
Add empty NotificationSettingsManager.
|
2022-04-05 00:40:22 +03:00 |
|
levlam
|
a1125be8eb
|
Keep promise non-emptiness in call to send_get_channel_full_query.
|
2022-04-04 20:20:29 +03:00 |
|
levlam
|
7c4f3c79ef
|
Suppress expected error.
|
2022-04-04 20:05:34 +03:00 |
|
levlam
|
1f11239255
|
Use InvokeAfter for some chat-related requests.
|
2022-04-04 20:01:56 +03:00 |
|
levlam
|
c5d58a8158
|
Add source to MessagesManager::repair_server_unread_count.
|
2022-04-04 19:29:03 +03:00 |
|
levlam
|
da3baf09e9
|
Improve logging.
|
2022-04-04 19:08:47 +03:00 |
|
levlam
|
713debab58
|
Update participant cache after changing their rights.
|
2022-04-04 17:16:31 +03:00 |
|
levlam
|
7d3f0cb37f
|
Use get_channel_participant in set_channel_participant_status to honor chat member cache.
|
2022-04-04 16:44:48 +03:00 |
|
levlam
|
e2f9cc399f
|
Pass correct ChannelType to DialogParticipant constructor.
|
2022-04-04 16:29:46 +03:00 |
|
levlam
|
c3996b4726
|
Always adjust administrator rights for supergroups and channels.
|
2022-04-04 16:19:41 +03:00 |
|
levlam
|
99b79911e0
|
Remove verbose DialogParticipantStatus::Administrator.
|
2022-04-04 15:59:30 +03:00 |
|
levlam
|
1d6488ab09
|
Add ContactsManager::is_broadcast_channel/is_megagroup_channel helpers.
|
2022-04-04 15:48:33 +03:00 |
|
levlam
|
a8a343704a
|
Add ChannelType.h.
|
2022-04-04 15:35:09 +03:00 |
|
levlam
|
7f587c24d9
|
Replace get_restricted_rights with RestrictedRights constructors.
|
2022-04-04 14:13:51 +03:00 |
|
levlam
|
4a50db52d8
|
Replace get_administrator_rights with AdministratorRights constructor.
|
2022-04-04 13:58:14 +03:00 |
|
levlam
|
665c1adc75
|
Ignore RIGHTS_NOT_MODIFIED error.
|
2022-04-03 23:33:33 +03:00 |
|