Commit Graph

4222 Commits

Author SHA1 Message Date
Andrea Cavalli
a79f835de0 Add memory_cleanup on tear_down, and add more memory_cleanup. 2021-01-12 01:37:17 +01:00
Andrea Cavalli
5af21e5612 Merge commit 'c5549b73460f58addfaea52c0bef98a94483211f'
Conflicts:
	td/telegram/MessagesManager.cpp
2021-01-08 14:40:25 +01: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
Andrea Cavalli
2e5d5a81bc Merge commit '62c18729f1cf8c5f1b7dc6f0d37edbffd2bb78b5' 2021-01-07 19:38:10 +01:00
Andrea Cavalli
08bd345987 Change default values of experimental options 2021-01-07 19:18:45 +01:00
Andrea Cavalli
e0bcdab68f Add experiment_old_postponed_pts_updates_behavior option 2021-01-07 13:08:07 +01:00
Andrea Cavalli
2f28ed3bba Add experiment_enable_chat_access_hash_cleanup 2021-01-06 21:21:11 +01:00
Andrea Cavalli
53ed453f0b Revert CHECK 2021-01-06 21:15:50 +01:00
levlam
db3875710b Show recently joined voice chat participants as recent speakers. 2021-01-05 22:48:10 +03:00
Andrea Cavalli
ae119e4fc7 Fix typo 2021-01-05 17:48:21 +01:00
Andrea Cavalli
9e39ed51bd Fix #13 2021-01-05 17:30:22 +01:00
Andrea Cavalli
60173675f8 Fix #11 2021-01-05 17:29:45 +01:00
Andrea Cavalli
cbd6a55619 Fix #10 2021-01-05 17:29:06 +01:00
Andrea Cavalli
ff5b3840aa Reduce log levels 2021-01-05 17:27:12 +01:00
Andrea Cavalli
7852116554 Fix #9 2021-01-05 17:26:11 +01:00
Andrea Cavalli
d81befa783 Merge commit '71ac1f67bf160763bac8cf1183e12d15d67260b6' 2021-01-05 17:20:01 +01:00
Andrea Cavalli
8b7c89db03 postponed_pts_update log tag 2021-01-05 14:40:44 +01: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
Andrea Cavalli
c7820e2d15 Add missing logs 2021-01-05 12:50:08 +01:00
Andrea Cavalli
af4693eac7 Add "messages" log tag 2021-01-05 12:27:29 +01:00
levlam
89fa0f6446 Add get_update_qts/get_update_pts. 2021-01-05 12:41:35 +03:00
Andrea Cavalli
934c13ca79 Optimize_memory code cleanup, add more error messages in MessagesManager 2021-01-05 02:37:34 +01:00
Andrea Cavalli
1430d6ec7b Add missing options 2021-01-04 18:44:50 +01:00
Andrea Cavalli
5686d574f8 Add experimental options 2021-01-04 12:00:33 +01:00
Andrea Cavalli
cf3cc7b1d3 Log minithumbnail errors only if minithumbnails are enabled 2021-01-03 14:43:52 +01:00
andrew (from workstation)
49c2bbd9b5 fix get_all_file_sources declaration 2021-01-03 12:11:35 +01:00
andrew (from workstation)
c66972354a get all elements without offset 2021-01-03 12:07:48 +01:00
andrew (from workstation)
0eedaeea3a fix index 2021-01-02 19:15:12 +01:00
andrew (from workstation)
eb41d4bb20 fix iterator 2021-01-02 15:09:55 +01:00
Andrea Cavalli
85fb357a19 Merge commit '82f0386e73b7128a8aafec5bfa7dd825fe94ac39'
Conflicts:
	td/telegram/MessagesManager.cpp
2021-01-02 12:57:08 +01: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
andrew (from workstation)
d3fc12ff42 fix FileReferenceManager::get_current_file_source_id 2021-01-01 12:51:45 +01:00
andrew (from workstation)
e0d8a39ce4 remove unused file sources 2021-01-01 12:21:33 +01: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
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
Andrea Cavalli
1f7ae82450 Update ContactsManager.cpp 2020-12-30 12:39:57 +01:00
Andrea Cavalli
343d28a6bc Update ContactsManager.cpp 2020-12-30 12:39:19 +01:00
Andrea Cavalli
9a82abea56 Update MessagesManager.cpp 2020-12-30 12:37:21 +01:00
Andrea Cavalli
a6c0dbf160 Merge commit 'f7c01e88e36d3e49f3bf4b37ea71865324b0ecaa' 2020-12-30 02:20:47 +01:00