Commit Graph

7175 Commits

Author SHA1 Message Date
Andrea Cavalli
98244d1346 Merge remote-tracking branch 'td/master' 2021-10-20 02:21:14 +02:00
levlam
64bc1ad7f0 Don't store all created message random IDs. 2021-10-20 01:50:58 +03:00
levlam
1915dec1ae Add MessagesManager::generate_new_random_id. 2021-10-20 01:36:00 +03:00
levlam
1e49f6dc13 Use auto as variable type if it is initialized with a cast. 2021-10-20 01:27:02 +03:00
levlam
d225bdf073 Improve tdtl C++03 compatibility. 2021-10-20 01:01:22 +03:00
levlam
41cc287d66 Improve checks. 2021-10-20 00:54:49 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
44a186c7c1 Minor improvements. 2021-10-18 19:26:14 +03:00
levlam
01976bed53 Minor warning fixes. 2021-10-18 15:37:21 +03:00
levlam
81b38d5607 Mark move constructors/assignment operators noexcept. 2021-10-18 14:36:15 +03:00
levlam
f35afe23c8 Minor warning fixes. 2021-10-18 12:57:13 +03:00
levlam
0782f56408 Use uint32 instead of unsigned int if possible. 2021-10-17 22:56:40 +03:00
levlam
9b7957c9c6 Minor warning fixes. 2021-10-17 13:07:20 +03:00
levlam
3abac23287 Fix file_reference repair for ChatFull/ChannelFull photos. 2021-10-16 23:37:02 +03:00
levlam
ea97e2cb88 Early check access rights in searchChatMessages. 2021-10-16 22:20:39 +03:00
levlam
0fa991599e Add filter name to log. 2021-10-16 22:14:48 +03:00
Andrea Cavalli
982b994332 Merge remote-tracking branch 'td/master' 2021-10-16 18:25:57 +02:00
levlam
49282f35a5 Explicitly specify namespace td in tdactor tests. 2021-10-15 14:21:30 +03:00
levlam
e78a5fbecf Explicitly specify namespace td in tdutils tests. 2021-10-14 15:08:35 +03:00
levlam
c7ce933520 Improve Windows 11 detection. 2021-10-13 14:01:23 +03:00
levlam
c3684e1b4a Improve inputIdentityDocument/identityDocument documenation. 2021-10-13 13:07:25 +03:00
levlam
7832b354a8 Imptove logging. 2021-10-12 11:30:41 +03:00
levlam
b1d61383ef Remove some logging for files. 2021-10-12 11:15:25 +03:00
levlam
4bfc3eb945 Remove logging of FileDb operations. 2021-10-12 10:52:37 +03:00
levlam
49e68ad456 Don't repair active group call ID for bots. 2021-10-11 10:20:43 +03:00
levlam
dbc7ffcca5 Force unread count recalculation after each loaded chat list slice. 2021-10-11 10:03:34 +03:00
levlam
4d8abe394e Fix continuation of chat list loading. 2021-10-11 01:23:17 +03:00
levlam
1617d7271f Test that MultiPromiseActor uses try_emit_later. 2021-10-10 23:56:23 +03:00
levlam
a0ad0ee2f8 Repair server_dialog_total_count only if it is unknown. 2021-10-10 22:00:17 +03:00
levlam
f925aca76e Add more chat list loading logging. 2021-10-10 21:17:34 +03:00
levlam
f8d1134ca2 Improve logging. 2021-10-10 00:01:37 +03:00
levlam
628a490e2a Use request promise in getBlockedMessageSenders. 2021-10-09 22:05:23 +03:00
Andrea Cavalli
b0742b52b0 Remove unused field 2021-10-09 00:30:26 +02:00
levlam
564521453f Improve sponsoredMessage. 2021-10-08 15:00:13 +03:00
levlam
d0ac845c72 Fix misprint. 2021-10-08 14:12:37 +03:00
levlam
dbd3b22f31 Remove wrong CHECK. 2021-10-08 12:18:01 +03:00
levlam
e87bf3a174 Fix some MultiPromise locks. 2021-10-07 18:14:49 +03:00
levlam
9d74962296 Enable CMP0065 policy in all projects. 2021-10-07 17:35:41 +03:00
levlam
34569b3600 Fix Actor tests. 2021-10-07 17:10:07 +03:00
levlam
f5fe132722 Remove unneeded logging in tests. 2021-10-07 16:56:45 +03:00
levlam
328c5b57d2 Add Global::request_aborted_error. 2021-10-07 16:36:21 +03:00
levlam
3b794126d8 Avoid G usage in lambda promises. 2021-10-07 15:28:52 +03:00
levlam
c85f993de8 Improve captured actor_id names. 2021-10-07 13:38:49 +03:00
levlam
b34cfef4d0 Replace begin_transaction with begin_read_transaction and begin_write_transaction. 2021-10-07 13:18:00 +03:00
levlam
4c803a1a75 Remove uneeded third try in getWebPageInstantView. 2021-10-07 13:00:41 +03:00
levlam
2f4524a949 Return WebPageId through promise. 2021-10-07 12:49:46 +03:00
Andrea Cavalli
4e70729edb Merge remote-tracking branch 'td/master' 2021-10-07 00:51:58 +02:00
levlam
4b41d620c5 Use send_closure instead of raw call. 2021-10-06 23:33:18 +03:00
levlam
e18901953a Don't capture td in lambda Promise in MessagesManager. 2021-10-06 23:10:57 +03:00
levlam
9e1147bc89 Fix SleepActor usages. 2021-10-06 20:22:50 +03:00