levlam
|
38efb6d673
|
Support MessageSenders as poll voters.
|
2023-04-25 16:41:04 +03:00 |
|
levlam
|
8096cf0439
|
Register replies to messages in different chats.
|
2023-06-09 13:44:15 +03:00 |
|
levlam
|
1886bcf850
|
Make update_message_max_reply_media_timestamp const.
|
2023-06-08 20:14:38 +03:00 |
|
levlam
|
bc618b855e
|
Replace all message reply-related fields simultaneously.
|
2023-06-08 20:09:42 +03:00 |
|
levlam
|
6f082a40d2
|
Improve MessagesManager::create_message_to_send.
|
2023-06-08 13:39:36 +03:00 |
|
levlam
|
e8ee1c5149
|
Don't force getChatHistory response for only_local requests.
|
2023-06-07 15:23:09 +03:00 |
|
levlam
|
7d83f2e15a
|
Remove redundant check, existing also in get_history_impl.
|
2023-06-07 15:14:45 +03:00 |
|
levlam
|
ea217b10c1
|
Add MessagesManager::set_message_reply.
|
2023-06-07 00:57:27 +03:00 |
|
levlam
|
771771a2c7
|
Check reply_in_dialog_id in relevant places.
|
2023-06-06 14:32:56 +03:00 |
|
levlam
|
75e00df016
|
Ensure ordering between messages.getMessagesReactions and channels.readMessageContents.
|
2023-06-01 15:53:13 +03:00 |
|
levlam
|
6b342e9b0d
|
Ignore reaction changes while there is a pending request to read unread reactions.
|
2023-06-01 15:31:05 +03:00 |
|
levlam
|
04525f6f6b
|
Completely ignore global drafts in forum chats.
|
2023-05-31 17:54:31 +03:00 |
|
levlam
|
e599d16fc2
|
Make DraftMessage fields private and improve their names.
|
2023-05-31 17:46:06 +03:00 |
|
levlam
|
0b56f92190
|
Add methods to DraftMessage class.
|
2023-05-31 17:35:56 +03:00 |
|
levlam
|
978eb97c72
|
Improve get_draft_message.
|
2023-05-31 17:19:31 +03:00 |
|
levlam
|
ad5655d359
|
Add and use add_draft_message_dependencies.
|
2023-05-31 16:34:12 +03:00 |
|
levlam
|
33cbb2f438
|
Move ClearAllDraftsQuery to DraftMessage.cpp.
|
2023-05-31 16:23:23 +03:00 |
|
levlam
|
394ce38278
|
Move GetAllDraftsQuery to DraftMessage.cpp.
|
2023-05-31 16:17:20 +03:00 |
|
levlam
|
1aeaaaa733
|
Move SaveDraftMessageQuery to DraftMessage.cpp.
|
2023-05-31 15:57:30 +03:00 |
|
levlam
|
ec4d9836ee
|
Add and use need_update_draft_message.
|
2023-05-31 15:29:37 +03:00 |
|
levlam
|
1ff0e66eb0
|
Drop ready_size when delete partial remote location.
|
2023-05-30 12:29:12 +03:00 |
|
levlam
|
716481ca73
|
Don't allow message date change for server messages after sending.
|
2023-05-28 23:07:39 +03:00 |
|
levlam
|
8cc992e15e
|
Add MessagesManager::on_get_messages_from_database.
|
2023-05-28 22:44:27 +03:00 |
|
levlam
|
0907c4fda5
|
Improve action order in on_get_history_from_database.
|
2023-05-28 11:15:15 +03:00 |
|
levlam
|
b64f8260f9
|
Remove manual load_messages call if receive no new messages from database.
|
2023-05-28 01:17:32 +03:00 |
|
levlam
|
1cf48ab89b
|
Improve log messages.
|
2023-05-27 23:02:47 +03:00 |
|
levlam
|
54b34e9180
|
Add more checks for scheduled messages.
|
2023-05-25 12:13:47 +03:00 |
|
levlam
|
526b602b61
|
Fix variable use after move.
|
2023-05-24 14:53:10 +03:00 |
|
levlam
|
0150094c0f
|
Get chat history if receive a chat in chat list without last message.
|
2023-05-24 12:53:52 +03:00 |
|
levlam
|
7385ca726b
|
Allow messageEmpty in response to messages.getDialogs.
|
2023-05-24 01:46:00 +03:00 |
|
levlam
|
54e967861c
|
Fail sending of messages from yet_unsent_media_queues_ on restart.
|
2023-05-23 17:01:51 +03:00 |
|
levlam
|
d01f1ab20a
|
Limit the number of concurrent getChannelDifference requests.
|
2023-05-23 14:57:04 +03:00 |
|
levlam
|
1aa1185185
|
Fix misprint.
|
2023-05-22 19:21:42 +03:00 |
|
levlam
|
7bc891aa0b
|
Repeat channels.getDifference if expected PTS/message_id wasn't reached.
|
2023-05-22 19:19:36 +03:00 |
|
levlam
|
398fbeadf1
|
Add MessagesManager::schedule_get_channel_difference function.
|
2023-05-22 18:23:40 +03:00 |
|
levlam
|
9756d174ee
|
Clear contains_mention/contains_unread_mention message flags for bots.
|
2023-05-22 15:52:51 +03:00 |
|
levlam
|
d65541d45a
|
Use get_message_file_ids if possible.
|
2023-05-20 00:49:16 +03:00 |
|
levlam
|
88ab425758
|
Reload marks as unread if there is no message database.
|
2023-05-15 18:20:24 +03:00 |
|
levlam
|
e626b5f68f
|
Drop binlog events if message database was deleted.
|
2023-05-15 18:16:55 +03:00 |
|
levlam
|
18646d6d49
|
Load expired messages from database in small batches.
|
2023-05-15 13:28:23 +03:00 |
|
levlam
|
a14a07c33d
|
Remove lower bound check for ttl_expires_at.
|
2023-05-15 13:04:03 +03:00 |
|
levlam
|
7d3fea5a70
|
Improve log messages.
|
2023-05-15 12:37:49 +03:00 |
|
levlam
|
c7b9d54fdb
|
Fix inputChannelFromMessage support.
|
2023-05-15 11:47:05 +03:00 |
|
levlam
|
f61b5900dd
|
Pass Dialog to read_history_outbox.
|
2023-05-13 03:51:27 +03:00 |
|
levlam
|
57d3928a50
|
Pass Dialog to read_history_inbox.
|
2023-05-13 03:46:43 +03:00 |
|
levlam
|
7dffab5a92
|
Add MessagesManager::clear_dialog_message_list.
|
2023-05-13 03:37:35 +03:00 |
|
levlam
|
26bacbb787
|
Don't send updateNewMessage for yet unsent messages to bots.
|
2023-05-12 16:58:21 +03:00 |
|
levlam
|
da8b0770ec
|
Don't call add_message_to_dialog_message_list for bots.
|
2023-05-12 16:44:57 +03:00 |
|
levlam
|
484bd135d1
|
Add MessagesManager::add_message_to_dialog_message_list.
|
2023-05-12 16:29:21 +03:00 |
|
levlam
|
f265a154b9
|
Refactor reply markup removal.
|
2023-05-12 14:25:00 +03:00 |
|