Commit Graph

3335 Commits

Author SHA1 Message Date
levlam
08084f35e3 Added updateChatAddedToList and updateChatRemovedFromList. 2024-02-23 13:38:51 +03:00
levlam
94ae90dcaf Check that quick reply messages aren't received by MessagesManager. 2024-02-21 20:36:33 +03:00
levlam
dc2300d7ae Update layer to 176. 2024-02-19 14:07:10 +03:00
levlam
1c06f69a03 Move on_view_dialog_active_stories to StoryManager. 2024-03-06 14:46:52 +03:00
levlam
0e8f076bab Move is_dialog_info_received_from_server to DialogManager. 2024-03-05 12:47:42 +03:00
levlam
22d9c86b57 Move get_channel_participants to DialogParticipantManager. 2024-03-03 01:22:49 +03:00
levlam
3d80f1ae6f Move get_dialog_search_text to DialogManager. 2024-02-24 23:47:30 +03:00
levlam
899587e4fa Add and use is_editable_message_content. 2024-02-23 20:19:54 +03:00
levlam
acef6e61a0 Check close_flag() first. 2024-02-18 20:55:41 +03:00
levlam
78f3363486 Add key validness checks before adding to FlatHashSet. 2024-02-15 17:16:08 +03:00
levlam
e1098ef8e9 Allow empty non-null backgrounds in chat event log. 2024-02-13 16:56:07 +03:00
levlam
978cd5ef34 Support replying of supergroup stories in the supergroup. 2024-02-11 02:57:08 +03:00
levlam
e62f612c36 Add Message.sender_boost_count. 2024-02-11 02:45:18 +03:00
levlam
64635aefe1 Add td_api::messageChatBoost. 2024-02-07 20:50:00 +03:00
levlam
cb3c623fd2 Update layer to 174. 2024-02-07 20:34:28 +03:00
levlam
c0d78b9f04 Add MessagesManager::set_folder_pinned_dialogs. 2024-02-09 23:23:18 +03:00
levlam
3e66162c07 Add source to set_dialog_view_as_messages. 2024-02-08 01:33:08 +03:00
levlam
afb8524392 Minor fixes. 2024-02-07 17:50:57 +03:00
levlam
2ca4672a98 Improve logging and fix on_topic_changed. 2024-02-07 16:51:08 +03:00
levlam
6cfb50fd8f Support Saved Messages topic draft. 2024-02-07 16:10:56 +03:00
levlam
21696de370 Support Saved Messages in toggleChatViewAsTopics. 2024-02-07 15:32:50 +03:00
levlam
f28d40605a Improve Saved Messages topic API and naming. 2024-02-07 14:01:29 +03:00
levlam
73f3696eda Send updateSavedMessagesTopic when last topic message changes. 2024-02-06 16:08:41 +03:00
levlam
7f0f3e9ff0 Add and use MessagesManager::send_update_last_message_if_needed. 2024-02-06 16:03:11 +03:00
levlam
82702c4331 Store last message date along last topic message identifier. 2024-02-06 00:11:36 +03:00
levlam
3d8c749536 Maintain last message of Saved Messages topics. 2024-02-05 00:56:20 +03:00
levlam
7267e1e89c Move Saved Messages-specific functions to SavedMessagesManager. 2024-02-04 23:06:48 +03:00
levlam
32eba3c7d1 Enable setting tags by Premium users. 2024-02-01 22:40:55 +03:00
levlam
0e16c0af02 Hide video and voice message drafts when the message is sent. 2024-01-31 02:58:17 +03:00
levlam
2f1de10541 Add and use MessagesManager::clear_dialog_draft_by_sent_message. 2024-01-31 02:47:43 +03:00
levlam
f7bf5f268a Mark top_thread_message_id as const when possible. 2024-01-31 01:52:02 +03:00
levlam
2a81a11e61 Keep and pass to the server initial top_thread_message_id specified by the app. 2024-01-31 01:45:20 +03:00
levlam
0ed3ed75fa Add local video note drafts. 2024-01-30 16:59:14 +03:00
levlam
930a3ccdca Support Saved Messages tags in topics. 2024-01-29 19:11:14 +03:00
levlam
034db9599d Improve checks for changed link preview. 2024-01-31 18:10:53 +03:00
levlam
3d539f1bcc Add class MessageSelfDestructType. 2024-01-30 15:07:21 +03:00
levlam
983f669116 Fail sending of messages for which updateMessageId has been received. 2024-01-29 01:48:58 +03:00
levlam
4a29cd7f00 Don't warn about sent message identifier decrease, if the new message has identifier 1. 2024-01-28 01:59:33 +03:00
levlam
17e5d20583 Fix message_input_reply_to access for server messages. 2024-01-27 03:42:36 +03:00
levlam
cdd7430d3a Silently create chat in get_message_sender_object. 2024-01-26 23:03:37 +03:00
levlam
dace1cdb23 Fix GetMessagePositionQuery. 2024-01-26 15:37:32 +03:00
levlam
b6fe959ece Improve update processing logging. 2024-01-26 11:25:09 +03:00
levlam
238d154ed7 Immediately fetch affected messages. 2024-01-26 00:30:49 +03:00
levlam
2acbcdbb60 Allow sending messages to user after receiving a message from them. 2024-01-25 20:56:10 +03:00
levlam
c95cb5d75c Minor imrovements. 2024-01-25 20:06:07 +03:00
levlam
c2ccf0d784 Add some emptiness checks. 2024-01-25 19:37:56 +03:00
levlam
dfdad00dca Don't warn about topic changed to or from Author Hidden. 2024-01-25 18:08:53 +03:00
levlam
b97773457b Don't set explicitly source.is_outgoing for messages forwarded from the user. 2024-01-25 18:01:51 +03:00
levlam
650ca8844d Init SavedMessagesTopic with real_forward_from_dialog_id. 2024-01-25 16:45:24 +03:00
levlam
2f1423a284 Allow forwardSource without source message. 2024-01-25 16:23:00 +03:00