levlam
|
ad3e1bf060
|
Update list of TLDs.
|
2024-05-16 00:21:31 +03:00 |
|
levlam
|
b1044c9348
|
Don't check received from server strings for emptiness.
|
2024-05-04 23:12:26 +03:00 |
|
levlam
|
4e085215b3
|
Improve error message.
|
2024-05-04 22:42:22 +03:00 |
|
levlam
|
cae81ef90a
|
Treat custom emoji as premium by default.
|
2024-04-26 18:38:09 +03:00 |
|
levlam
|
7be2966e27
|
Support custom emoji in poll question and options.
|
2024-04-23 03:10:58 +03:00 |
|
levlam
|
73ccba7f0f
|
Make remove_unallowed_quote_entities private to MessageQuote.
|
2024-04-25 16:30:33 +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
|
e9beb42444
|
Add get_formatted_text(string, vector<MessageEntity>).
|
2024-04-23 19:23:02 +03:00 |
|
levlam
|
03a624903e
|
Move relevant functions to UserManager.
|
2024-04-02 03:52:34 +03:00 |
|
levlam
|
1fba0f0c84
|
Move can_use_premium_custom_emoji to DialogManager.
|
2024-03-10 03:15:01 +03:00 |
|
levlam
|
0dad023262
|
Allow to use Premium custom emoji from group emoji set in supergroups.
|
2024-02-08 15:09:26 +03:00 |
|
levlam
|
da031b3faa
|
Allow \r and other empty entities as a separator between MarkdownV2 blockquotes.
|
2024-01-10 14:36:27 +03:00 |
|
levlam
|
ebda6f1364
|
Use DialogManager::get_my_dialog_id.
|
2024-01-04 15:49:02 +03:00 |
|
levlam
|
d963044eb9
|
Update copyright year.
|
2024-01-01 03:07:21 +03:00 |
|
levlam
|
c257615f9a
|
Remove now unused function is_hidden_data_entity.
|
2023-12-10 13:37:32 +03:00 |
|
levlam
|
4ac5708135
|
Remove redundant is_valid checks before adding an identifier as dependency.
|
2023-12-04 22:18:08 +03:00 |
|
levlam
|
4c052a5efa
|
Don't remove whitespace-only entities.
|
2023-12-04 18:33:40 +03:00 |
|
levlam
|
9a9e3be8cf
|
Trim quote from the replied message.
|
2023-12-04 16:27:15 +03:00 |
|
levlam
|
21ab0edef0
|
Allow empty block quotes in MarkdownV2.
|
2023-11-15 20:57:13 +03:00 |
|
levlam
|
6adce38062
|
Allow whitespace-only BlockQuote entities.
|
2023-11-15 20:29:55 +03:00 |
|
levlam
|
c926b16896
|
Support pre-existing BlockQuote entities in parseMarkdown.
|
2023-11-07 19:40:45 +03:00 |
|
levlam
|
d1202f84a3
|
Fix warnings.
|
2023-11-06 15:47:35 +03:00 |
|
levlam
|
d0f6791777
|
Support PreCode entities in getMarkdownText.
|
2023-11-06 02:11:15 +03:00 |
|
levlam
|
000da35ad0
|
Always remove new line on the first empty line of Pre entity.
|
2023-11-06 02:03:29 +03:00 |
|
levlam
|
4983b8e9a3
|
Don't remove newline character after Pre entities.
|
2023-11-06 01:51:51 +03:00 |
|
levlam
|
c24f62d70b
|
Improve parse_markdown_v3 test.
|
2023-11-06 01:42:03 +03:00 |
|
levlam
|
8e8a7e0f18
|
Support language code specification for PreCode entities in parseMarkdown.
|
2023-11-06 00:45:24 +03:00 |
|
levlam
|
682df38d96
|
Add td_api::searchQuote.
|
2023-11-03 13:51:38 +03:00 |
|
levlam
|
672981afad
|
Ignore disable_web_page_preview if there is no URL to preview.
|
2023-11-01 22:25:28 +03:00 |
|
levlam
|
a805b98211
|
Don't send BlockQuote entities to secret chats.
|
2023-11-01 22:19:31 +03:00 |
|
levlam
|
c287417b2c
|
Improve scheme comparison for hidden URLs in get_first_url.
|
2023-11-01 22:16:19 +03:00 |
|
levlam
|
d6b3a77899
|
Return Slice from get_first_url().
|
2023-11-01 22:13:29 +03:00 |
|
levlam
|
ea450564b0
|
Add BlockQuote parsing in MarkdownV2.
|
2023-10-30 18:18:13 +03:00 |
|
levlam
|
f10bcc49cb
|
Support BlockQuote entities in textParseModeHTML.
|
2023-10-29 22:29:39 +03:00 |
|
levlam
|
1b12428c9a
|
Add truncate_formatted_text function.
|
2023-10-29 21:22:25 +03:00 |
|
levlam
|
b2b665e8d6
|
Remove unallowed reply quote entities.
|
2023-10-29 01:25:21 +03:00 |
|
levlam
|
77cf5262b4
|
Add check for entities being sorted.
|
2023-10-19 13:47:41 +03:00 |
|
levlam
|
88199d1865
|
Skip confirmation in link preview opening for visible URLs.
|
2023-10-19 13:20:48 +03:00 |
|
levlam
|
e556ed04a0
|
Add ContactsManager::can_use_premium_custom_emoji.
|
2023-10-17 01:25:58 +03:00 |
|
levlam
|
e608fdca7b
|
Add td_api::textEntityTypeBlockQuote.
|
2023-10-02 23:23:45 +03:00 |
|
levlam
|
6c88f6dbfe
|
Update list of TLDs.
|
2023-10-06 00:22:43 +03:00 |
|
levlam
|
45dfc6e51b
|
Use FlatHashSet to store unallowed boundaries.
|
2023-05-19 14:03:22 +03:00 |
|
levlam
|
d510bc8435
|
Use FlatHashSet to store common TLDs.
|
2023-05-19 14:00:49 +03:00 |
|
levlam
|
cbb10e0f3d
|
Remove 4-letter usernames from the list of short usernames.
|
2023-05-18 02:05:58 +03:00 |
|
levlam
|
f3a1407f8f
|
Simplify constant FlatHashSet initialization.
|
2023-05-18 02:03:39 +03:00 |
|
levlam
|
f8853fb938
|
Skip new entities for some bots.
|
2023-05-01 13:44:41 +03:00 |
|
levlam
|
7c3822d932
|
Add and use ContactsManager::get_input_user_force.
|
2023-03-22 18:18:35 +03:00 |
|
levlam
|
e7242b1188
|
Fix includes.
|
2023-03-06 20:36:56 +03:00 |
|
levlam
|
896de65c3e
|
Improve field name.
|
2023-02-11 22:37:43 +03:00 |
|