Commit Graph

2498 Commits

Author SHA1 Message Date
levlam
8e32de133a Rename MessagesDb to MessageDb. 2022-11-09 20:35:22 +03:00
levlam
3592494daf Don't send updates about unloading from cache of unknown to app messages. 2022-11-08 14:00:11 +03:00
levlam
ef5107fcc4 Remove unused from_cache parameter in send_update_delete_messages. 2022-11-08 13:43:46 +03:00
levlam
7eba19887a Remove ignored Status responses from DialogDb. 2022-11-07 23:19:32 +03:00
levlam
36686c29a6 Remove unused Status responses in MessagesDb. 2022-11-07 22:19:44 +03:00
levlam
39cee43b9f Fix last_added_message_id. 2022-11-07 20:08:25 +03:00
levlam
16d454793c Allow change of replied message to top thread message. 2022-11-07 18:19:57 +03:00
levlam
cc9de08be3 Improve source for error suppression. 2022-11-07 15:52:01 +03:00
levlam
3a9ea05a50 Don't try to fail message edits while closing. 2022-11-07 13:54:42 +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
477fe509b5 Fix adding of a chat list to beginning. 2022-11-04 17:23:43 +03:00
levlam
ff0c205fe9 Generate new links for topic messages. 2022-11-04 15:56:16 +03:00
levlam
939d43129c Support message links for forum topics. 2022-11-04 14:40:57 +03:00
levlam
2e3cc8619e Avoid call to is_deleted_message in delete_dialog_messages if it isn't needed. 2022-11-03 20:25:40 +03:00
levlam
136dfd15df Use delete_dialog_messages if appropriate. 2022-11-03 19:56:53 +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
695fab3323 Refactor delete_newer_server_messages_at_the_end. 2022-11-03 18:35:40 +03:00
levlam
17bc097d12 Destroy deleted messages on another thread. 2022-11-03 18:10:51 +03:00
levlam
d8c36c8062 Improve handling of too long messages and captions. 2022-11-03 16:46:50 +03:00
levlam
4cc5ed345d Improve MessateReplyHeader processing. 2022-11-02 14:04:43 +03:00
levlam
481387b12d Unpin locally only messages from forum topics. 2022-11-02 08:58:13 +03:00
levlam
69f03d8376 Improve message reply header handling. 2022-11-02 06:28:35 +03:00
levlam
88e2b735b4 Do nothing for bots in on_dialog_linked_channel_updated. 2022-10-31 19:46:04 +03:00
levlam
342f446631 Support unpinning of all messages in a message thread. 2022-10-31 19:44:01 +03:00
levlam
f58737a0c9 Improve getMessageThread for forums. 2022-10-31 11:51:08 +03:00
levlam
fee05c93b5 Avoid expected warning. 2022-10-31 11:16:56 +03:00
levlam
36b19416ac Avoid warning for allowed channel useless updates. 2022-10-30 12:16:24 +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
6ec8f90367 Allow to get thread of failed to send and yet unsent messages. 2022-10-28 14:59:23 +03:00
levlam
03d17c32c3 Add various fixes. 2022-10-28 14:09:40 +03:00
levlam
fec023500c Add comments about ignored top_thread_message_id. 2022-10-28 13:16:42 +03:00
levlam
4c7e9ad8a6 Add Message.is_topic_message. 2022-10-28 12:43:51 +03:00
levlam
f79e67cab8 Apply edited data from service message about forum topics. 2022-10-27 19:03:58 +03:00
levlam
8f0d216601 Don't update channel pts if failed to process updateEditChannelMessage. 2022-10-26 14:52:51 +03:00
levlam
e1bc6a3394 Disallow deletion of TopicCreate service messages. 2022-10-26 13:58:13 +03:00
levlam
cacdedc8d7 Check message thread identifier with can_use_top_thread_message_id while changing message draft. 2022-10-24 18:23:08 +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
edc660ba59 Allow to get unread mentions and reactions in a message thread. 2022-10-23 22:16:20 +03:00
levlam
6a16492266 Support can_manage_topics administrator right and chat permission. 2022-10-23 13:20:53 +03:00
levlam
62bcac0198 Support forwarding of messages to message threads. 2022-10-21 18:02:39 +03:00
levlam
c9f8390bd5 Move TranscribeAudioQuery to TranscriptionInfo.cpp. 2022-10-20 19:52:20 +03:00
levlam
c941f488a0 Proxy speech recognition methods through MessagesManager. 2022-10-19 17:56:18 +03:00
levlam
5e0103c442 Add messageForumTopicEdited. 2022-10-18 22:16:03 +03:00
levlam
d68836f482 Add messageForumTopicCreated. 2022-10-18 16:08:53 +03:00