Commit Graph

296 Commits

Author SHA1 Message Date
levlam
e626b5f68f Drop binlog events if message database was deleted. 2023-05-15 18:16:55 +03:00
levlam
bed72ccf14 Improve variable names. 2023-04-22 23:46:43 +03:00
levlam
e1eff4a06a Add MessagesManager::get_chat_id_object for checking chat_id before returning it. 2023-04-13 22:41:22 +03:00
levlam
10562f5bac Add pushMessageContentChatSetBackground. 2023-04-10 15:14:03 +03:00
levlam
a45d2de881 Update layer to 158. 2023-03-21 14:11:43 +03:00
levlam
375a024585 Remove redundant lambda creation. 2023-04-02 23:52:36 +03:00
levlam
b6a6c07de5 Add optional source to MultiTimeout::cancel_timeout. 2023-03-17 01:02:30 +03:00
levlam
47bd6b4ded Don't cancel NotificationManager timeouts while closing. Callbacks will do nothing anyway. 2023-03-13 23:33:31 +03:00
levlam
f1311610e5 Remove unneeded TdParameters.h includes. 2023-03-13 20:10:18 +03:00
levlam
835ee52491 Make TdParameters private in Global. 2023-03-13 19:47:38 +03:00
levlam
b13ab1e148 Avoid some MultiTimeout usages in NotificationManager while closing. 2023-03-08 16:25:58 +03:00
levlam
ffcc1719ef Improve log message spelling. 2023-02-26 13:41:49 +03:00
levlam
882de6e8e8 Replace unsafe to maintain data_ field with get_data() method. 2023-02-02 03:08:26 +03:00
levlam
425bd0e364 Support sticker chat photos. 2023-01-20 17:31:33 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
9768637010 Add pushMessageContentSuggestProfilePhoto. 2022-12-25 21:29:56 +03:00
levlam
87174e5e81 Update layer to 148. 2022-10-07 18:04:00 +03:00
levlam
ab3f7856a9 Explicitly ignore READ_REACTION notifications. 2022-10-03 17:22:20 +03:00
levlam
39d2ac80b0 Remove unused ActorId methods. 2022-10-01 11:29:09 +03:00
levlam
bb2034ae36 Update layer to 145. 2022-08-08 23:00:06 +03:00
levlam
26bd2c71b3 Remove my_id from Global. 2022-08-18 20:21:40 +03:00
levlam
04b98aa385 Use OptionManager directly if possible. 2022-08-18 17:00:18 +03:00
levlam
552bde9fda Use query_promise in GetContactSignUpNotificationQuery. 2022-08-18 12:55:55 +03:00
levlam
0225f0cab7 Ensure that option values are fetched on launch. 2022-08-18 00:37:19 +03:00
levlam
3318ffdb20 Proxy all option-related requests through G. 2022-08-17 16:11:13 +03:00
levlam
0147c97f9c Ensure that the same notification doesn't added and removed simultaneously. 2022-07-17 14:17:22 +03:00
levlam
3659842864 Fix updateNotificationGroup. 2022-06-23 16:36:58 +03:00
levlam
21d8ba2f41 Ignore authorization loss errors while logging out. 2022-06-20 17:43:08 +03:00
levlam
1cbfec9de9 Add pushMessageContentRecurringPayment. 2022-06-16 16:42:36 +03:00
levlam
cfc20397a0 Update layer to 143. 2022-04-19 17:43:24 +03:00
levlam
43e51f8f65 Explicitly process reaction notifications as unsupported. 2022-05-26 17:23:52 +03:00
levlam
fb1efdbba8 Return back notification.is_silent. 2022-05-03 16:09:40 +03:00
levlam
dc79b35570 Check for duplicate calls to init(). 2022-04-26 02:06:35 +03:00
levlam
104ebaaacb Support sound_id in push notifications. 2022-04-15 18:49:21 +03:00
levlam
3215bb0242 Replace is_silent with sound_id in notifications. 2022-04-15 18:36:24 +03:00
levlam
163e739302 Add set_promises/fail_promises helper functions. 2022-04-13 17:40:12 +03:00
levlam
479667dd1a Update layer to 140. 2022-03-18 14:46:01 +03:00
levlam
1f38124861 Use FlatHashSet. 2022-03-11 21:38:48 +03:00
levlam
2b1314295d Check and fix half of FlatHashMap usages. 2022-02-10 00:59:52 +03:00
levlam
bcc2adeb47 Fix includes and formatting. 2022-02-08 00:04:34 +03:00
Arseny Smirnov
86bceb2972 td: replace most of std::unordered_map usages to td::FlatHashMap 2022-02-07 21:21:31 +01:00
levlam
7974571615 Add more close_flag checks. 2022-01-13 17:28:10 +03:00
KnorpelSenf
789b9c0a55 Fix much typos 2022-01-25 16:07:36 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
5a76413990 Minor improvements. 2021-12-10 00:07:59 +03:00
levlam
a56c34c4dd Move get_message_sender_object to MessageSender.cpp. 2021-11-15 01:18:47 +03:00
levlam
60907279fd Add missing checks for close_flag in Timeout callbacks. 2021-11-13 22:37:41 +03:00
levlam
5a02af8c72 Use const reference if range-based for if appropriate. 2021-11-10 20:39:35 +03:00
levlam
616b0e6d6f Improve ResultHandler/NetActor td_ private field name. 2021-11-08 15:20:38 +03:00
levlam
5578ecc6b8 Remove NetQuery id from ResultHandler and NetActor. 2021-11-08 14:19:57 +03:00