Commit Graph

5198 Commits

Author SHA1 Message Date
levlam
d06aa6535d Make DialogParticipantsFilter fields private. 2021-10-23 23:41:13 +03:00
levlam
393598314a Simplify search_private_chat_participants. 2021-10-23 23:37:23 +03:00
levlam
ed45735de4 Add DialogParticipant::private_member. 2021-10-23 23:22:54 +03:00
levlam
7d4442347d Add DialogParticipantsFilter::is_dialog_participant_suitable. 2021-10-23 22:32:11 +03:00
levlam
1c59f37ca9 Move some methods inside DialogParticipantsFilter class. 2021-10-23 22:23:59 +03:00
levlam
47d4c08de2 Improve field names style. 2021-10-23 21:56:37 +03:00
levlam
c24501f2d9 Reduce "this" usages. 2021-10-23 21:17:00 +03:00
levlam
0c1469f7c6 Fix TransparentProxy::Callback. 2021-10-22 19:59:15 +03:00
levlam
03c6d53951 Log number of pending requests when Session is closed. 2021-10-22 18:36:35 +03:00
levlam
b25df7a808 Create all nested objects before td_api::message. 2021-10-22 17:00:18 +03:00
levlam
495082b628 Simplify updateChatLastMessage creation. 2021-10-22 16:41:31 +03:00
levlam
9f44816a62 Minor improvements. 2021-10-21 12:51:16 +03:00
levlam
1ebf835ac5 Fix process_check_code_result. 2021-10-20 10:46:01 +03: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
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
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
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
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
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
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
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
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
levlam
a160241db7 Improve NetQueryCreator constructor. 2021-10-06 18:47:32 +03:00
levlam
223e620653 Ensure that notification.date > 0. 2021-10-06 15:46:10 +03:00
levlam
fed1bf5ef3 Don't read automatically messages sent to support bots. 2021-10-06 14:48:05 +03:00