Commit Graph

203 Commits

Author SHA1 Message Date
Andrea Cavalli
b6c5bd07bb Apply tdlight patch
- Memory manager
- TD_SKIP_TEST/TD_SKIP_BENCHMARK/TD_SKIP_TG_CLI
- Rebranding
- github workflow
- .gitignore
- Add crypt32 to windows
- Fatal crash log handler
- optionally unencrypted database
- malloc_trim support
- getMemoryStatistics

Options:
- disable_document_filenames
- disable_minithumbnails
- disable_notifications
- disable_group_calls
- disable_auto_download
- ignore_server_deletes_and_reads
- ignore_update_chat_last_message
- ignore_update_chat_read_inbox
- ignore_update_user_chat_action
- receive_access_hashes
- message_unload_delay modification
2024-08-27 15:24:01 +02:00
levlam
0e1d319f8a Move online status handling to OnlineManager. 2024-08-01 21:08:01 +03:00
levlam
c9a92f64d6 Pass UserManager to get_text_entity_object. 2024-07-21 12:33:02 +03:00
levlam
7ab118780a Add source to on_external_update_message_content. 2024-05-15 11:40:47 +03:00
levlam
1601b703de Fix condition for creation of a new log event. 2024-05-14 20:45:10 +03:00
levlam
b1044c9348 Don't check received from server strings for emptiness. 2024-05-04 23:12:26 +03:00
levlam
50635ae394 Fix stopPoll. 2024-05-01 12:52:06 +03:00
levlam
9fa1656557 Remove unallowed custom emoji when copying poll. 2024-04-23 22:10:48 +03:00
levlam
7be2966e27 Support custom emoji in poll question and options. 2024-04-23 03:10:58 +03:00
levlam
4134f608af Update layer to 179. 2024-04-21 21:57:10 +03:00
levlam
275cf20362 Minor improvements. 2024-04-24 01:00:43 +03:00
levlam
e08cf00efb Remove unused get_formatted_text parameters. 2024-04-23 20:04:38 +03:00
levlam
8e2713ca93 Use get_formatted_text. 2024-04-23 19:43:12 +03:00
levlam
bd8c6be0cd Rename rest of ContactsManager to ChatManager. 2024-04-02 13:06:22 +03:00
levlam
03a624903e Move relevant functions to UserManager. 2024-04-02 03:52:34 +03:00
levlam
11a35768b7 Fix some plural spelling. 2024-03-28 02:03:03 +03:00
levlam
dc2300d7ae Update layer to 176. 2024-02-19 14:07:10 +03:00
levlam
5828e46046 Don't subscribe to some state changes by bots. 2024-02-19 00:23:46 +03:00
levlam
a10f03cde1 Add sanity check. 2024-01-10 21:41:13 +03:00
levlam
b2fccc7d9c Move ContactsManager proxy methods to DialogManager. 2024-01-03 23:07:50 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
53ee8caf37 Simplify QTS update processing. 2023-12-14 23:27:46 +03:00
levlam
413556bab7 Add and use MessagesManager::on_get_message_error. 2023-11-12 22:55:48 +03:00
levlam
baed5606fb Prevent unloading of replied polls. 2023-11-06 20:37:17 +03:00
levlam
bd36f48054 Update layer to 166. 2023-09-28 16:13:36 +03:00
levlam
1e2c0ce814 Rename FullMessageId to MessageFullId. 2023-09-21 19:11:17 +03:00
levlam
4d1d22d6f4 Keep PendingPollAnswer until poll updates are applied. 2023-08-19 06:42:06 +03:00
levlam
b9473decc2 Always list actor_id first in lambda capture. 2023-07-11 17:53:43 +03:00
levlam
bcf9ff7d43 Explicitly include telegram_api.h in cpp files. 2023-07-01 14:53:04 +03:00
levlam
6702a001f0 Remove unused api.hpp includes. 2023-07-01 12:20:39 +03:00
levlam
38efb6d673 Support MessageSenders as poll voters. 2023-04-25 16:41:04 +03:00
levlam
48d72677d3 Update layer to 159. 2023-04-25 14:27:58 +03:00
levlam
e3256e7b4c Use td::append if possible. 2023-06-10 23:14:03 +03:00
levlam
e626b5f68f Drop binlog events if message database was deleted. 2023-05-15 18:16:55 +03:00
levlam
e79741dca0 Improve Poll field names. 2023-04-25 15:29:24 +03:00
levlam
cfe3e19231 Improve PollOption field names. 2023-04-25 15:16:29 +03:00
levlam
42c585b7ed Simplify voter list handling. 2023-04-25 14:13:34 +03:00
levlam
1ce9f9d27c Minor improvements. 2023-03-24 14:14:37 +03:00
levlam
b6a6c07de5 Add optional source to MultiTimeout::cancel_timeout. 2023-03-17 01:02:30 +03:00
levlam
387e84004b Ignore invalid polls stored in database. 2023-03-14 23:24:19 +03:00
levlam
4c390b4988 Don't use poll multi-timeouts while closing. 2023-03-14 23:20:05 +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
92837b3bee Reget message to delete it after receiving "MESSAGE_ID_INVALID" from getPollResults. 2023-03-09 15:54:31 +03:00
levlam
882de6e8e8 Replace unsafe to maintain data_ field with get_data() method. 2023-02-02 03:08:26 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
f1eedfaa47 Simplify some usages of optional TL fields. 2022-12-18 22:15:57 +03:00
levlam
d6842ced1b Avoid update about deleted closed polls. 2022-11-26 12:35:29 +03:00
levlam
3ec53c8d78 Fix compilation error. 2022-11-24 15:25:15 +03:00
levlam
f53cf540b7 Use WaitFreeHashMap to store poll messages. 2022-11-22 12:58:07 +03:00