levlam
|
6e20aaa428
|
Add source to get_dimensions.
|
2021-01-23 22:04:35 +03:00 |
|
levlam
|
ae59f017e7
|
Fix expires_in == 0 in schedule_get_promo_data.
|
2021-01-23 21:39:41 +03:00 |
|
levlam
|
9c961b2eb8
|
Optimize database_message_id updating in on_get_history.
|
2021-01-21 23:37:00 +03:00 |
|
levlam
|
6729581d03
|
Clamp wrong dialog action progress instead of ignoring.
|
2021-01-21 23:19:40 +03:00 |
|
levlam
|
31265c93f1
|
Add ability to check whether a user is a mutual contact.
|
2021-01-21 16:49:41 +03:00 |
|
levlam
|
9a575cdb56
|
Forcely ignore updateChat received in getDifference.
|
2021-01-20 15:14:16 +03:00 |
|
levlam
|
e72c129f9c
|
Ignore getDifference errors while closing.
|
2021-01-18 15:54:29 +03:00 |
|
levlam
|
027c78c691
|
Remove wrong error logging.
|
2021-01-18 13:32:44 +03:00 |
|
levlam
|
520f55d31f
|
Remove expected error logging.
|
2021-01-18 12:58:16 +03:00 |
|
levlam
|
451c0afe60
|
Fix ChatFullInfo reloading due to uninited is_is_blocked_inited.
|
2021-01-16 12:33:45 +03:00 |
|
levlam
|
2348e175d9
|
Add source to get_chat_full_force.
|
2021-01-16 12:30:48 +03:00 |
|
levlam
|
52b7f8f118
|
Add DialogParticipantFilter logging.
|
2021-01-16 11:56:02 +03:00 |
|
levlam
|
db77165dad
|
Optimize ContactsManager::search_among_users.
|
2021-01-16 03:14:15 +03:00 |
|
levlam
|
35c4562fc5
|
Make on_server_pong private.
|
2021-01-16 02:59:03 +03:00 |
|
levlam
|
7a94cac200
|
Make on_get_updates_state private.
|
2021-01-16 02:55:47 +03:00 |
|
levlam
|
7c0af14d09
|
Make on_get_difference private.
|
2021-01-16 02:44:58 +03:00 |
|
levlam
|
0e961b0be7
|
Move dummyUpdate/updateSentMessage to UpdatesManager.
|
2021-01-16 01:51:01 +03:00 |
|
levlam
|
004876dcf0
|
Make get_pts/get_qts/get_date private.
|
2021-01-16 01:42:06 +03:00 |
|
levlam
|
ef920f297d
|
Move handling of pending pts updates to UpdatesManager.
|
2021-01-16 01:17:35 +03:00 |
|
levlam
|
3c1341731c
|
Move check_pts_update to UpdatesManager.
|
2021-01-15 23:39:34 +03:00 |
|
levlam
|
67403c586b
|
Remove force_apply parameter from on_update.
|
2021-01-15 19:32:16 +03:00 |
|
levlam
|
24664db3cb
|
Forcely process qts updates in process_updates.
|
2021-01-15 19:09:00 +03:00 |
|
levlam
|
76fac90693
|
Simplify telegram_api::updateMessageID processing.
|
2021-01-15 18:52:41 +03:00 |
|
levlam
|
2eacc1f974
|
Forcely process pts updates in process_updates.
|
2021-01-15 18:45:26 +03:00 |
|
levlam
|
dc45d89848
|
Make searchStickers response cache time-bound.
|
2021-01-15 14:54:07 +03:00 |
|
levlam
|
cb24fd8037
|
Add struct FoundStickers.
|
2021-01-15 14:01:59 +03:00 |
|
levlam
|
10ec257921
|
Hide message interaction info for yet unsent supergroup messages.
|
2021-01-15 14:01:48 +03:00 |
|
levlam
|
36b4c55927
|
Remove force_apply from add_pending_update.
|
2021-01-12 01:52:10 +03:00 |
|
levlam
|
840391b95c
|
Add is_pts_update/is_qts_update.
|
2021-01-11 23:58:03 +03:00 |
|
levlam
|
efec8787d8
|
Add MessagesManager::check_pts_update.
|
2021-01-11 23:31:25 +03:00 |
|
levlam
|
cdbed1844a
|
Add updateFolderPeers to pts updates.
|
2021-01-11 23:14:41 +03:00 |
|
levlam
|
0acc29b1d2
|
Treat bots as always online.
|
2021-01-11 22:22:18 +03:00 |
|
levlam
|
27d3fdd09d
|
Update group call join missing error message text.
|
2021-01-08 18:15:16 +03:00 |
|
levlam
|
c5549b7346
|
Improve log messages.
|
2021-01-08 16:05:16 +03:00 |
|
levlam
|
c271524019
|
Treat updates with too big pts as outdated.
|
2021-01-08 14:43:00 +03:00 |
|
levlam
|
eab5532688
|
Fix applying of postponed pts updates.
|
2021-01-08 14:37:50 +03:00 |
|
levlam
|
6b909386fd
|
Simplify is_dialog_participant_suitable.
|
2021-01-08 02:01:49 +03:00 |
|
levlam
|
db3875710b
|
Show recently joined voice chat participants as recent speakers.
|
2021-01-05 22:48:10 +03:00 |
|
levlam
|
71ac1f67bf
|
Force getDifference if receive a lot of qts updates.
|
2021-01-05 16:36:49 +03:00 |
|
levlam
|
970f65604a
|
Switch back from getDifference to updates handling if there are too much of them.
|
2021-01-05 16:06:51 +03:00 |
|
levlam
|
0ee37c5e64
|
Ensure that ChannelFull.member_count >= administrator_count after speculative update.
|
2021-01-05 15:18:15 +03:00 |
|
levlam
|
89fa0f6446
|
Add get_update_qts/get_update_pts.
|
2021-01-05 12:41:35 +03:00 |
|
levlam
|
82f0386e73
|
Move some functions from misc.h to algorithm.h.
|
2021-01-01 16:01:03 +03:00 |
|
levlam
|
52c1da0a70
|
Update copyright year.
|
2021-01-01 15:57:46 +03:00 |
|
levlam
|
dbbfcd5d64
|
Update ChannelFull participant count only after channel is updated.
|
2021-01-01 02:46:37 +03:00 |
|
levlam
|
d9fa3b3f36
|
Fix CHECK.
|
2021-01-01 02:21:50 +03:00 |
|
levlam
|
865009fffc
|
Include improvements.
|
2021-01-01 01:52:01 +03:00 |
|
levlam
|
3ec02f971d
|
Update Safari's ClientHello.
|
2020-12-31 16:08:04 +03:00 |
|
levlam
|
192fd4862f
|
Use td::unique.
|
2020-12-30 18:50:57 +03:00 |
|
levlam
|
45149bb3cd
|
Allow multiple updateGroupCall updates for just created calls.
|
2020-12-30 18:41:44 +03:00 |
|
levlam
|
371ec422e6
|
Don't fix reply_to_message_id in message thread drafts.
|
2020-12-30 15:09:41 +03:00 |
|
levlam
|
b1ffe39759
|
Improve "Restore pts" warnings.
|
2020-12-30 14:57:43 +03:00 |
|
levlam
|
f7c01e88e3
|
Add comment.
|
2020-12-29 15:51:12 +03:00 |
|
levlam
|
ccd99ac16a
|
Do not treat empty messages as deleted for bots.
|
2020-12-29 15:44:43 +03:00 |
|
levlam
|
1c150610d0
|
Silence expected warning.
|
2020-12-29 15:32:36 +03:00 |
|
levlam
|
2394ccd29e
|
Decrease max_participant_count to not update it for groups with 5000+ members.
|
2020-12-29 14:41:17 +03:00 |
|
levlam
|
92f9a4c54c
|
tg_cli: add gghs and sgs.
|
2020-12-28 23:35:05 +03:00 |
|
levlam
|
aee5806593
|
Improve error message.
|
2020-12-28 18:57:41 +03:00 |
|
levlam
|
584b5352ca
|
Replace error message on closing.
|
2020-12-28 17:18:17 +03:00 |
|
levlam
|
8139e0d560
|
Update forward_count and thread reply_info only after updateNewMessage is sent.
|
2020-12-28 16:58:50 +03:00 |
|
levlam
|
6af4338f8b
|
Add MessagesManager::update_forward_count.
|
2020-12-28 16:21:39 +03:00 |
|
levlam
|
5f02a34c34
|
Don't hide reply info for yet unsent messages.
|
2020-12-28 15:19:56 +03:00 |
|
levlam
|
2c8cfc561c
|
Add is_speaking flag for recent speakers.
|
2020-12-28 14:19:29 +03:00 |
|
levlam
|
1f9d173afb
|
Automatically check whether group call is still joined.
|
2020-12-28 00:30:27 +03:00 |
|
levlam
|
1d155a8492
|
tg_cli: add get_chat_report_reason.
|
2020-12-26 21:53:39 +03:00 |
|
levlam
|
48f5169101
|
tg_cli: add get_supergroup_members_filter.
|
2020-12-26 21:45:19 +03:00 |
|
levlam
|
f56ea08096
|
tg_cli: add get_user_privacy_setting_rules.
|
2020-12-26 21:32:21 +03:00 |
|
levlam
|
d23e6ad352
|
tg_cli: combine Search* methods.
|
2020-12-26 21:12:09 +03:00 |
|
levlam
|
4de797e4bd
|
tg_cli: use rand_bool everywhere.
|
2020-12-26 21:01:57 +03:00 |
|
levlam
|
6654464360
|
tg_cli: use get_args if possible.
|
2020-12-26 20:58:30 +03:00 |
|
levlam
|
168becf215
|
tg_cli: simplify SearchQuery parsing.
|
2020-12-26 20:47:51 +03:00 |
|
levlam
|
2097d88006
|
tg_cli: use get_args to read integer parameters.
|
2020-12-26 20:26:19 +03:00 |
|
levlam
|
e53ffdb101
|
tg_cli: use get_args to read bool parameters.
|
2020-12-26 19:59:45 +03:00 |
|
levlam
|
48a47618ca
|
tg_cli: add get_args.
|
2020-12-26 19:40:46 +03:00 |
|
levlam
|
77112f53d7
|
tg_cli: add as_limit.
|
2020-12-26 01:25:00 +03:00 |
|
levlam
|
30d912bd4b
|
Set is_pinned flag for last_pinned_message_id.
|
2020-12-26 01:05:24 +03:00 |
|
levlam
|
f4ec6e6cfc
|
tg_cli: add get_search_query.
|
2020-12-26 00:43:38 +03:00 |
|
levlam
|
c8668f224c
|
Update ChannelFull.participant_count when channel.participant_count changes.
|
2020-12-25 18:06:54 +03:00 |
|
levlam
|
ce75097932
|
Increase ChannelFull.participant_count instead of decreasing administrator_count to guarantee that channel has no administrators more than participants.
|
2020-12-25 17:35:41 +03:00 |
|
levlam
|
9ca42ec8da
|
Check message pts before merging files.
|
2020-12-25 16:12:09 +03:00 |
|
levlam
|
b70eb33158
|
Save pts of the last processed message edit.
|
2020-12-25 03:31:12 +03:00 |
|
levlam
|
ebc4e57da7
|
Minor improvements of process_update.
|
2020-12-25 03:19:10 +03:00 |
|
levlam
|
a8377db05d
|
Simplify handling of updateNewChannelMessage and updateEditChannelMessage.
|
2020-12-25 02:56:22 +03:00 |
|
levlam
|
b867a597e8
|
Simplify add_pending_channel_update calls.
|
2020-12-25 02:37:14 +03:00 |
|
levlam
|
ba9837f55e
|
tg_cli: combine emp and empttl.
|
2020-12-25 01:41:56 +03:00 |
|
levlam
|
d191bc49b6
|
Save updates with pts_count == 0 to postpone setting their promises.
|
2020-12-25 01:32:31 +03:00 |
|
levlam
|
4a28b98022
|
Pass promise to add_pending_channel_update.
|
2020-12-25 00:20:21 +03:00 |
|
levlam
|
3dbc996acc
|
Postpone pts updates, which can't be applied right now.
|
2020-12-24 23:32:32 +03:00 |
|
levlam
|
4ea10b3de6
|
Pass promise to MessagesManager::add_pending_update.
|
2020-12-24 21:56:15 +03:00 |
|
Egor Pugin
|
28ce6974ce
|
Remove extra include dir part. (#1336)
|
2020-12-23 10:41:56 +03:00 |
|
levlam
|
887c2dfdf7
|
Properly set promise when ignore pending updates.
|
2020-12-23 02:06:45 +03:00 |
|
levlam
|
b9d1530c78
|
Store all promises for pending qts updates.
|
2020-12-23 01:58:56 +03:00 |
|
levlam
|
6d6d1b20b6
|
Reimplement RSA for OpenSSL 3.0.0.
|
2020-12-22 23:29:10 +03:00 |
|
levlam
|
03bb56ae96
|
Add RSA test.
|
2020-12-22 22:28:04 +03:00 |
|
levlam
|
3589676550
|
Minor fixes.
|
2020-12-22 15:51:57 +03:00 |
|
levlam
|
b89cb3fbd6
|
Fix misprint.
|
2020-12-22 02:09:08 +03:00 |
|
levlam
|
97f5040b6f
|
Improve documentation.
|
2020-12-22 01:52:14 +03:00 |
|
levlam
|
656a641290
|
Fix sending response to setPollAnser.
|
2020-12-22 01:51:20 +03:00 |
|
levlam
|
7d73126506
|
Add success promise to on_get_updates.
|
2020-12-21 22:06:52 +03:00 |
|
levlam
|
956e70d841
|
Add groupCall.can_be_managed flag.
|
2020-12-21 13:47:19 +03:00 |
|