Commit Graph

2473 Commits

Author SHA1 Message Date
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
levlam
177b5f1e89 Pass top_thread_message_id to server methods for message sending. 2022-10-18 14:23:46 +03:00
levlam
bf6b804d7a Keep top_thread_message_id for yet unsent scheduled messages. 2022-10-18 13:05:05 +03:00
levlam
41262d4629 Immediately succeed reorder usernames queries if they can't change order. 2022-10-17 17:29:13 +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
87174e5e81 Update layer to 148. 2022-10-07 18:04:00 +03:00
levlam
76f5f3316f Improve order of available message senders. 2022-10-29 12:31:06 +03:00
levlam
88ffdb62e7 Split NotificationSettings.h. 2022-10-25 01:22:04 +03:00
levlam
d9fecc6cb0 Explicitly set promise in on_update_message_reactions. 2022-10-19 06:07:30 +03:00
levlam
9ceab403c6 Send updateMessageSendFailed when closing for being uploaded messages. 2022-10-16 14:39:26 +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
188a7b7c3e Pass promise to FileManager::download. 2022-10-10 15:40:39 +03:00
levlam
445cd4118d Improve 'always be' spelling. 2022-10-09 19:18:33 +03:00
levlam
7f5f6e41ad Minor improvements. 2022-10-09 19:00:14 +03:00
levlam
5a29dcd337 Avoid redundant usages of Status::error(). 2022-10-09 14:15:54 +03:00
levlam
d4bf6f9239 Send updateMessageSendFailed about being sent messages on closing if there is no message database. 2022-10-07 01:38:39 +03:00
levlam
b1f2e553cb Explicitly fail some promises stored in MessagesManager. 2022-10-07 01:28:18 +03:00
levlam
09cffa693a Improve source for telegram_api::updates. 2022-10-06 18:21:25 +03:00
levlam
7ff1ec04b1 Improve log and error messages. 2022-10-05 21:29:05 +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
91ba17c47b Fix read_date usage. 2022-10-04 14:18:57 +03:00
levlam
882b08f935 Support empty filter in getChatMessagePosition. 2022-10-03 20:55:15 +03:00
levlam
08ce44a194 Avoid message type checks in treap_insert/treap_find. 2022-10-02 00:36:11 +03:00