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 |
|