Commit Graph

1044 Commits

Author SHA1 Message Date
levlam
f670d646c9 Unload at most 5000 messages at a time. 2022-11-11 16:06:05 +03:00
levlam
8e32de133a Rename MessagesDb to MessageDb. 2022-11-09 20:35:22 +03:00
levlam
ef5107fcc4 Remove unused from_cache parameter in send_update_delete_messages. 2022-11-08 13:43:46 +03:00
levlam
36686c29a6 Remove unused Status responses in MessagesDb. 2022-11-07 22:19:44 +03:00
levlam
7df7dfcd62 Output main chat list position along with all folder identifiers. 2022-11-04 17:40:44 +03:00
levlam
ce09421718 Update main chat list position after adding or deleting chat lists. 2022-11-04 17:26:41 +03:00
levlam
ff0c205fe9 Generate new links for topic messages. 2022-11-04 15:56:16 +03:00
levlam
8f9275858f Fix warning. 2022-11-04 13:20:22 +03:00
levlam
f8783063f3 Improve parameter name. 2022-11-03 19:37:07 +03:00
levlam
e8d1c7deae Remove from_updates parameter from delete_dialog_messages. 2022-11-03 19:26:22 +03:00
levlam
df45195cc6 Split delete_dialog_messages in two functions. 2022-11-03 19:14:35 +03:00
levlam
17bc097d12 Destroy deleted messages on another thread. 2022-11-03 18:10:51 +03:00
levlam
69f03d8376 Improve message reply header handling. 2022-11-02 06:28:35 +03:00
levlam
342f446631 Support unpinning of all messages in a message thread. 2022-10-31 19:44:01 +03:00
levlam
43deaf4502 Add td_api::deleteForumTopic. 2022-10-30 00:35:37 +03:00
levlam
6acdfbdf9e Keep information about dropped MessageReplyInfo. 2022-10-29 20:18:49 +03:00
levlam
ff43a82359 Improve topic message detection. 2022-10-29 02:05:31 +03:00
levlam
4c7e9ad8a6 Add Message.is_topic_message. 2022-10-28 12:43:51 +03:00
levlam
8f0d216601 Don't update channel pts if failed to process updateEditChannelMessage. 2022-10-26 14:52:51 +03:00
levlam
75739dd0ea Allow to pass message thread identifier to readAllChatReactions. 2022-10-24 17:04:05 +03:00
levlam
df561b7822 Allow to pass message thread identifier to readAllChatMentions. 2022-10-24 16:57:26 +03:00
levlam
62bcac0198 Support forwarding of messages to message threads. 2022-10-21 18:02:39 +03:00
levlam
c941f488a0 Proxy speech recognition methods through MessagesManager. 2022-10-19 17:56:18 +03:00
levlam
177b5f1e89 Pass top_thread_message_id to server methods for message sending. 2022-10-18 14:23:46 +03:00
levlam
4067ba66d3 Improve backward compatibility. 2022-10-17 15:44:30 +03:00
levlam
897032e0fd Add support for multiple usernames. 2022-10-12 21:04:18 +03:00
levlam
88ffdb62e7 Split NotificationSettings.h. 2022-10-25 01:22:04 +03:00
levlam
9b16702674 Add ContactsManager::get_dialog_search_text. 2022-10-11 20:35:35 +03:00
levlam
62403aac3c Simplify username caching. 2022-10-11 15:13:06 +03:00
levlam
b1f2e553cb Explicitly fail some promises stored in MessagesManager. 2022-10-07 01:28:18 +03:00
levlam
8d1ee490ad Update response of getChatAvailableMessageSenders. 2022-10-04 17:53:56 +03:00
levlam
af5ddbfa15 Use WaitFreeHashMap for resolved_usernames. 2022-10-04 14:53:46 +03:00
levlam
1f7258f697 Add getChatMessagePosition. 2022-09-30 20:04:21 +03:00
levlam
92f9f8bdd0 Support extended media polling. 2022-09-24 22:17:17 +03:00
levlam
7f353cd064 Support telegram_api::updateMessageExtendedMedia. 2022-09-23 12:07:07 +03:00
levlam
23fe3994bf Don't unload messages from the last media album. 2022-09-21 17:44:25 +03:00
levlam
bb6fc999f8 Add on_message_notification_changed function. 2022-09-19 16:19:59 +03:00
levlam
618bface99 Save voice message to database when it is recognized. 2022-09-19 11:15:13 +03:00
levlam
8d0cb5b82d Return is_content_changed from update_message_content. 2022-09-19 01:12:20 +03:00
levlam
51403c883c Avoid usage of send_update_message_content with dialog_id. 2022-09-19 00:29:31 +03:00
levlam
91c54cc748 Move send_update_message_content out of update_message_content. 2022-09-19 00:24:15 +03:00
levlam
30b961aebf Sort reactions returned in getMessageAvailableReactions. 2022-09-13 19:19:35 +03:00
levlam
55ec944266 Pass all chosen reactions to send_message_reaction. 2022-09-09 16:21:00 +03:00
levlam
6b2f6b4204 Split setMessageReaction to addMessageReaction and removeMessageReaction. 2022-09-09 15:56:45 +03:00
levlam
4ae5b9a533 Consistently use is_active_reaction. 2022-09-08 21:04:23 +03:00
levlam
148f1bf794 Update get_message_available_reactions. 2022-09-08 20:04:32 +03:00
levlam
c6d5bbb151 Remove class AvailableReaction. 2022-09-08 17:45:19 +03:00
levlam
9bd566702e Add source to MessagesManager::fix_new_dialog. 2022-09-07 20:02:44 +03:00
levlam
4fdac24cc5 Add setMessageReaction.update_recent_reactions. 2022-09-05 22:04:50 +03:00
levlam
16ba2ebfb8 Add messageSendOptions.update_order_of_installed_sticker_sets. 2022-09-04 01:14:25 +03:00