levlam
|
192915c0bf
|
Reload chat themes at most once an hour.
|
2021-09-07 13:30:51 +03:00 |
|
levlam
|
546898e199
|
Replace SetGameScoreRequest with promise.
|
2021-09-07 12:05:44 +03:00 |
|
levlam
|
989b0c26f0
|
tg_cli: remove unused variable.
|
2021-09-07 11:40:08 +03:00 |
|
levlam
|
5c59a10418
|
Move game-related methods to GameManager.
|
2021-09-07 10:45:01 +03:00 |
|
levlam
|
d395c2496e
|
Add empty GameManager.
|
2021-09-07 10:02:44 +03:00 |
|
levlam
|
0ec10947d5
|
Fix some misprints.
|
2021-09-06 13:58:40 +03:00 |
|
levlam
|
73290dcda8
|
Reopen closed polls when copying them.
|
2021-09-05 23:11:25 +03:00 |
|
levlam
|
96ffd57881
|
Use Promise isntead of RequestOnceActor to get games high scores.
|
2021-09-05 10:54:20 +03:00 |
|
Andrea Cavalli
|
a20e8b6db3
|
Merge remote-tracking branch 'td/master'
|
2021-09-04 16:03:33 +02:00 |
|
levlam
|
b713d945f7
|
tg_cli: use synchronous TDLib's method instead of Td.
|
2021-09-04 12:22:26 +03:00 |
|
levlam
|
86de43a048
|
Remove useless #include comments.
|
2021-09-03 23:21:44 +03:00 |
|
levlam
|
9ebeafbb5b
|
Add get_json_value_bool helper function.
|
2021-09-03 18:17:11 +03:00 |
|
levlam
|
9a6e8cad9e
|
Add get_json_value_string helper function.
|
2021-09-03 18:14:15 +03:00 |
|
levlam
|
1d41017d3a
|
Add get_json_value_int helper method.
|
2021-09-03 17:54:04 +03:00 |
|
levlam
|
7dffe5aabe
|
Use Promise instead of RequestActor in getBackgrounds.
|
2021-09-03 09:07:18 +03:00 |
|
levlam
|
d2f9c264ca
|
Use promise instead of RequestActor in td_api::getChatThemes.
|
2021-09-03 08:59:34 +03:00 |
|
levlam
|
db4f963a68
|
Fix via_bot_user_id in game messages forwarded by the bot itself.
|
2021-09-02 22:21:26 +03:00 |
|
levlam
|
6fad8e897f
|
Improve Game constructor.
|
2021-09-02 16:49:57 +03:00 |
|
levlam
|
895d7f68d8
|
Improve Game::is_empty method name.
|
2021-09-02 16:35:56 +03:00 |
|
levlam
|
7135caa2be
|
Update version to 1.7.7.
|
2021-09-02 12:39:05 +03:00 |
|
levlam
|
5a56ecea2a
|
Remove pessimizing std::move.
|
2021-09-02 11:28:50 +03:00 |
|
levlam
|
6beaf41231
|
Minor improvements.
|
2021-09-01 20:31:39 +03:00 |
|
levlam
|
2b980ec215
|
Remove default source from have_dialog_force.
|
2021-09-01 19:41:00 +03:00 |
|
levlam
|
b1db807868
|
Add forwardMessages.only_preview.
|
2021-08-31 23:37:21 +03:00 |
|
levlam
|
23a4c2c8a8
|
Return Message objects from send_message/forward_messages.
|
2021-08-31 22:34:46 +03:00 |
|
levlam
|
548ab8d7ee
|
Add MessagesManager::get_forwarded_messages.
|
2021-08-31 20:39:32 +03:00 |
|
levlam
|
70a9d555a0
|
Split copied and forwarded new_media_album_ids just in case.
|
2021-08-31 20:09:00 +03:00 |
|
levlam
|
87e003916c
|
Add MessagesManager::fix_forwarded_message.
|
2021-08-31 19:42:37 +03:00 |
|
levlam
|
52d605ed4d
|
Add MessagesManager::create_message_forward_info.
|
2021-08-31 19:12:24 +03:00 |
|
levlam
|
dec26260d3
|
Add const MessagesManager::create_message_to_send.
|
2021-08-31 17:26:51 +03:00 |
|
levlam
|
f6fc10ab22
|
Add updateChatTheme.
|
2021-08-27 20:36:40 +03:00 |
|
levlam
|
abcfe46275
|
Fix MessageContentType::ChatSetTheme support.
|
2021-08-27 19:29:58 +03:00 |
|
levlam
|
c20fd1dd91
|
Add td_api::setChatTheme.
|
2021-08-27 19:23:22 +03:00 |
|
levlam
|
532a0f4502
|
Add td_api::pushMessageContentChatChangeTheme.
|
2021-08-27 16:38:05 +03:00 |
|
levlam
|
83e55b6b56
|
Add td_api::getChatThemes.
|
2021-08-27 15:51:50 +03:00 |
|
levlam
|
3e77161e46
|
Don't replace main background type if appropriate.
|
2021-08-27 12:10:51 +03:00 |
|
levlam
|
021474e8be
|
Add chatEventThemeChanged.
|
2021-08-27 11:53:50 +03:00 |
|
levlam
|
e3f55a71cd
|
Add td_api::viewSponsoredMessage.
|
2021-08-25 22:34:18 +03:00 |
|
levlam
|
658d172256
|
Improve method name.
|
2021-08-25 20:29:14 +03:00 |
|
levlam
|
723b203c7d
|
Add td_api::getSponsoredMessages.
|
2021-08-24 23:44:47 +03:00 |
|
Andrea Cavalli
|
de789b0d2f
|
Avoid sending access hash multiple times if the database is enabled
|
2021-08-24 18:31:08 +02:00 |
|
Andrea Cavalli
|
268fd8c4a9
|
Print warning
|
2021-08-24 17:34:15 +02:00 |
|
levlam
|
1e663dea46
|
Add group_call.is_video_recorded.
|
2021-08-24 17:49:08 +03:00 |
|
Andrea Cavalli
|
e2374c1b71
|
Fix compilation
|
2021-08-24 00:53:49 +02:00 |
|
Andrea Cavalli
|
99f8ce6d76
|
Clean dialogs and related fields
|
2021-08-23 22:34:34 +02:00 |
|
Andrea Cavalli
|
269e149852
|
Allocate type later
|
2021-08-23 21:07:38 +02:00 |
|
Andrea Cavalli
|
b7ef62be23
|
Rename to enable_reactive_pull_backpressure
|
2021-08-23 21:05:40 +02:00 |
|
Andrea Cavalli
|
49bca76869
|
Send access hashes without checking if the database is enabled
|
2021-08-23 20:57:36 +02:00 |
|
Andrea Cavalli
|
0ee1d7edc1
|
Receive access hashes
|
2021-08-23 20:17:55 +02:00 |
|
levlam
|
5cfabdd589
|
Add chat.theme_name.
|
2021-08-23 18:47:32 +03:00 |
|
levlam
|
b56119951b
|
Support video streaming in group calls.
|
2021-08-23 16:59:00 +03:00 |
|
levlam
|
2045c131a9
|
Support video recording in group calls.
|
2021-08-23 15:29:03 +03:00 |
|
Andrea Cavalli
|
3a4e03c19f
|
Merge remote-tracking branch 'origin/master'
|
2021-08-23 02:24:50 +02:00 |
|
Andrea Cavalli
|
232ce6e4d3
|
Merge remote-tracking branch 'td/master'
|
2021-08-23 02:22:28 +02:00 |
|
levlam
|
1a2faf5ae6
|
Add feedback_link to WebPageInstantView.
|
2021-08-21 10:22:41 +03:00 |
|
levlam
|
6393923d3a
|
Make internalLinkTypeUnknownDeepLink self-contained.
|
2021-08-20 20:56:07 +03:00 |
|
levlam
|
df11403739
|
Make internalLinkTypeMessage self-contained.
|
2021-08-20 20:27:39 +03:00 |
|
levlam
|
618742acc2
|
Make internalLinkTypeChatInvite self-contained.
|
2021-08-20 18:44:02 +03:00 |
|
levlam
|
241718eae8
|
Extract pts and qts updates and apply them during getDifference.
|
2021-08-20 17:21:31 +03:00 |
|
levlam
|
a7e2e85119
|
Simplify check that all updates were processed.
|
2021-08-20 15:04:24 +03:00 |
|
levlam
|
7129a6d090
|
Apply typings and other short updates immediately.
|
2021-08-20 14:18:11 +03:00 |
|
levlam
|
7261c9579f
|
Improve logging.
|
2021-08-20 10:57:19 +03:00 |
|
levlam
|
a6ba1240c1
|
Fix applying of postponed updates.
|
2021-08-20 10:29:57 +03:00 |
|
|
68da4afc81
|
Fix compilation issue
|
2021-08-20 01:22:37 +02:00 |
|
levlam
|
d61b1d9348
|
Add chatActionChoosingSticker.
|
2021-08-19 22:43:38 +03:00 |
|
|
137ed88429
|
Fix compilation issue
|
2021-08-19 20:08:18 +02:00 |
|
levlam
|
4988e94c02
|
Don't save pts too often for bots.
|
2021-08-19 20:36:26 +03:00 |
|
|
a9d2c286ee
|
Merge remote-tracking branch 'td/master'
|
2021-08-19 16:15:03 +02:00 |
|
levlam
|
0f50f7a0f4
|
Ensure that channel Dialog exists before setting retry timeout.
|
2021-08-19 08:57:01 +03:00 |
|
levlam
|
5c2441021e
|
Add fast path in remove_invalid_entities.
|
2021-08-18 21:37:31 +03:00 |
|
levlam
|
ca9dd55141
|
Improve documentation.
|
2021-08-18 21:08:51 +03:00 |
|
levlam
|
23f5c52ad9
|
Support applying multiple postponed updates at once.
|
2021-08-18 17:40:28 +03:00 |
|
levlam
|
31a4a97ec1
|
Add messageChatSetTheme.
|
2021-08-18 16:03:10 +03:00 |
|
levlam
|
2eaa026bb7
|
Increase number of stored recently found chats.
|
2021-08-17 18:11:32 +03:00 |
|
levlam
|
7ac3c2bdb9
|
Update accumulated_pts_count_ when a pending pts update is processed.
|
2021-08-16 14:02:15 +03:00 |
|
levlam
|
c19a0751f0
|
Apply postponed pts/qts updates after each getDifference iteration.
|
2021-08-16 13:35:30 +03:00 |
|
levlam
|
b9b9f56b24
|
Process pending pts updates as fast as possible.
|
2021-08-16 12:19:30 +03:00 |
|
|
fa1204d3b5
|
Merge remote-tracking branch 'td/master'
|
2021-08-16 10:43:58 +02:00 |
|
levlam
|
0f5127602a
|
Cancel previous gap timeout if processed a pending update.
|
2021-08-16 08:38:29 +03:00 |
|
levlam
|
78534b15cf
|
Minor improvememnts.
|
2021-08-16 01:30:38 +03:00 |
|
levlam
|
82918559b8
|
Refactor processing of differenceSlice.
|
2021-08-16 01:00:49 +03:00 |
|
levlam
|
2e524bb819
|
Fix log message.
|
2021-08-16 00:11:48 +03:00 |
|
levlam
|
2128c2e5ad
|
Improve getDifference logging.
|
2021-08-15 22:54:18 +03:00 |
|
levlam
|
1f486a694b
|
Switch back from getDifference to updates processing as fast as possible.
|
2021-08-15 22:34:03 +03:00 |
|
levlam
|
d7dd6ff1ea
|
Improve logging.
|
2021-08-15 22:31:24 +03:00 |
|
levlam
|
d161323858
|
Add delay before reading history on server in non-joined channels with wrong server_unread_count.
|
2021-08-15 14:46:19 +03:00 |
|
levlam
|
6194d9ec14
|
Drop pending seq/qts updates received before seq/qts overflow.
|
2021-08-15 13:52:00 +03:00 |
|
levlam
|
8ac0b02a6d
|
Improve warnings on long gap fill.
|
2021-08-15 12:51:57 +03:00 |
|
levlam
|
9a5872fe27
|
Use update receive time to calculate proper gap time.
|
2021-08-15 12:46:38 +03:00 |
|
levlam
|
9b801645f0
|
Set gap timeout if it has decreased.
|
2021-08-15 11:43:00 +03:00 |
|
levlam
|
7cb54fddb9
|
Improve some internal link documentation.
|
2021-08-14 22:25:53 +03:00 |
|
levlam
|
957150a59c
|
Add space before supeflous phone number digits.
|
2021-08-13 21:06:54 +03:00 |
|
levlam
|
b4dc516b44
|
Add unread_count to MessageThreadInfo.
|
2021-08-13 18:24:00 +03:00 |
|
levlam
|
e62655efdf
|
Add message.has_timestamped_media.
|
2021-08-13 14:49:24 +03:00 |
|
levlam
|
1885d232a9
|
Add parameter is_message_in_dialog to update_message.
|
2021-08-13 13:36:07 +03:00 |
|
levlam
|
4b06cb9f08
|
Avoid reply and bot commands registration for messages not in Dialog.
|
2021-08-13 13:19:58 +03:00 |
|
levlam
|
a59a916f21
|
Fix MessageEntity constructors.
|
2021-08-13 13:10:54 +03:00 |
|
levlam
|
ec55ca1d5c
|
Improve logging.
|
2021-08-13 13:03:55 +03:00 |
|
levlam
|
bff8f7550f
|
Return MessageThreadInfo from GetDiscussionMessageQuery.
|
2021-08-13 12:26:47 +03:00 |
|
levlam
|
05c9934074
|
Add MessageThreadInfo.h.
|
2021-08-12 22:00:27 +03:00 |
|