levlam
|
39ea60e889
|
Combine GetPinnedSavedDialogsQuery requests.
|
2024-02-07 12:42:10 +03:00 |
|
levlam
|
6cd6242931
|
Add td_api::loadSavedMessagesTopics instead of server-side topic load methods.
|
2024-02-07 12:30:34 +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
|
5d0b8c71a5
|
Remove updatePinnedSavedMessagesTopics and handle updates on the TDLib side.
|
2024-02-06 15:12:03 +03:00 |
|
levlam
|
4882919461
|
Fix drop of topic order.
|
2024-02-06 14:58:37 +03:00 |
|
levlam
|
524899a6ae
|
Update last topic date when loading Saved Messages topics.
|
2024-02-06 14:26:48 +03:00 |
|
levlam
|
f3d81a1aea
|
Remove superflous saved_messages_topic_id parameters.
|
2024-02-06 01:24:25 +03:00 |
|
levlam
|
0baa1424f9
|
Add updateSavedMessagesTopic and more fields about the topic.
|
2024-02-06 01:21:55 +03:00 |
|
levlam
|
b45cd6e298
|
Add SavedMessagesManager::get_found_saved_messages_topic_object.
|
2024-02-06 00:58:13 +03:00 |
|
levlam
|
82702c4331
|
Store last message date along last topic message identifier.
|
2024-02-06 00:11:36 +03:00 |
|
levlam
|
0bcc699dc5
|
Add checks for maximum count of pinned Saved Messages topic and their existence before locally pin them.
|
2024-02-05 22:31:16 +03:00 |
|
levlam
|
abd4cec117
|
Maintain order of pinned Saved Messages topics and apply all changes locally first.
|
2024-02-05 22:22:17 +03:00 |
|
levlam
|
00984e1ebd
|
Add logging in set_topic_last_message_id.
|
2024-02-05 10:30:04 +03:00 |
|
levlam
|
741b0fc6af
|
Repair last Saved Messages topic message by fetching history.
|
2024-02-05 10:20:35 +03:00 |
|
levlam
|
db500ffae5
|
Process Saved Messages topic history inside SavedMessagesManager.
|
2024-02-05 10:06:58 +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
|
1eb8c22f75
|
Add empty SavedMessagesManager.
|
2024-02-04 12:41:53 +03:00 |
|
levlam
|
d85dcb8298
|
Send update when title of unused tag changes.
|
2024-02-02 18:52:53 +03:00 |
|
levlam
|
f0503191e4
|
Load Saved Messages tags in topic from database.
|
2024-02-02 17:09:49 +03:00 |
|
levlam
|
3e9f2ba515
|
Merge add_saved_reaction_tags and get_saved_reaction_tags.
|
2024-02-02 16:49:13 +03:00 |
|
levlam
|
af0c522c45
|
Use currently used tags to sort available tags in Saved Messages.
|
2024-02-02 16:38:37 +03:00 |
|
levlam
|
04f3432574
|
Load all Saved Messages tags from database.
|
2024-02-02 16:30:11 +03:00 |
|
levlam
|
56e37a87a2
|
Save Saved Messages tags to database.
|
2024-02-02 00:06:59 +03:00 |
|
levlam
|
32eba3c7d1
|
Enable setting tags by Premium users.
|
2024-02-01 22:40:55 +03:00 |
|
levlam
|
db4bd6b133
|
Strip more empty characters.
|
2024-02-01 21:16:01 +03:00 |
|
levlam
|
d6ba869457
|
Update getSavedMessagesTags documentation.
|
2024-02-01 20:41:14 +03:00 |
|
levlam
|
d120d0ab66
|
Set close_flag before clearing requests.
|
2024-02-01 14:59:55 +03:00 |
|
levlam
|
f11c4e8af4
|
Add searchSavedMessages.saved_messages_topic.
|
2024-02-01 13:09:01 +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
|
3dbf71e886
|
Allow longer nop and quick acks.
|
2024-01-30 19:23:04 +03:00 |
|
levlam
|
9d93e9f090
|
Support local voice note message drafts.
|
2024-01-30 17:23:08 +03:00 |
|
levlam
|
0ed3ed75fa
|
Add local video note drafts.
|
2024-01-30 16:59:14 +03:00 |
|
levlam
|
c7952b1c1d
|
Add td_api::premiumStoryFeatureVideoQuality.
|
2024-01-30 03:29:50 +03:00 |
|
levlam
|
1ce1761190
|
Add td_api::premiumFeatureSavedMessagesTags.
|
2024-01-30 03:11:23 +03:00 |
|
levlam
|
930a3ccdca
|
Support Saved Messages tags in topics.
|
2024-01-29 19:11:14 +03:00 |
|
levlam
|
027b23ac5a
|
Simplify SavedReactionTags::update_saved_messages_tags.
|
2024-01-29 18:58:30 +03:00 |
|
levlam
|
2a8156a1bc
|
Add registerUser.disable_notification.
|
2024-01-29 16:43:42 +03:00 |
|
levlam
|
440d9de15a
|
Update layer to 173.
|
2024-01-29 16:32:02 +03:00 |
|
levlam
|
0e311c404b
|
Add more logging.
|
2024-02-06 13:13:50 +03:00 |
|
levlam
|
3a5630356a
|
Fix destroy_auth_keys.
|
2024-02-06 12:59:01 +03:00 |
|
levlam
|
acecb48548
|
Log fields of the type True.
|
2024-02-06 12:42:10 +03:00 |
|
levlam
|
d11e88c9eb
|
Simplify True fetching.
|
2024-02-05 14:10:19 +03:00 |
|
levlam
|
81907c1c7a
|
Remove force_sync after starting auth key destroy.
|
2024-02-03 23:14:02 +03:00 |
|
levlam
|
9080b84649
|
Don't force sync after log in for bots.
|
2024-02-02 15:24:23 +03:00 |
|
levlam
|
12914669e6
|
Don't sync binlog after creation of SQLite encryption key if it will not be used.
|
2024-02-02 15:23:26 +03:00 |
|
levlam
|
8377726001
|
Add source to Binlog::sync.
|
2024-02-02 15:09:17 +03:00 |
|
levlam
|
d79bd4b694
|
Don't check disable_web_page_preview for sponsored messages.
|
2024-02-02 13:38:40 +03:00 |
|
levlam
|
7c3e9e6d5e
|
Move DcAuthManager to main session scheduler.
|
2024-02-02 13:32:15 +03:00 |
|
levlam
|
6c4804b591
|
Add source to SessionProxy::close_session.
|
2024-02-01 12:59:20 +03:00 |
|
levlam
|
acec5146ec
|
Close asynchronously opened database if instance was closed in the meanwhile.
|
2024-02-01 01:46:34 +03:00 |
|
levlam
|
034db9599d
|
Improve checks for changed link preview.
|
2024-01-31 18:10:53 +03:00 |
|
levlam
|
ec21b0276f
|
Set disable_web_page_preview to true only if the message has a link.
|
2024-01-31 12:48:03 +03:00 |
|
levlam
|
3d539f1bcc
|
Add class MessageSelfDestructType.
|
2024-01-30 15:07:21 +03:00 |
|
levlam
|
437c2d0c6e
|
Try to repair wrongly encoded proxy secret.
|
2024-01-29 15:48:57 +03:00 |
|
levlam
|
983f669116
|
Fail sending of messages for which updateMessageId has been received.
|
2024-01-29 01:48:58 +03:00 |
|
levlam
|
eb3f9f7ba1
|
Improve error messages.
|
2024-01-29 01:09:46 +03:00 |
|
levlam
|
5acc895975
|
Improve error message.
|
2024-01-29 00:55:37 +03:00 |
|
levlam
|
c92948e8b9
|
Improve error message.
|
2024-01-29 00:39:07 +03:00 |
|
levlam
|
34935ca4b6
|
Reopen and reinit session when receive a failed to parse update by a bot.
|
2024-01-29 00:18:40 +03:00 |
|
levlam
|
a60d6f5dfb
|
Fix RepliedMessageInfo::need_reply_changed_warning.
|
2024-01-28 02:06:04 +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
|
8c02d57443
|
Don't try to get name of an empty actor.
|
2024-01-27 13:27:55 +03:00 |
|
levlam
|
c5c55092dd
|
Update version to 1.8.24.
|
2024-01-27 03:43:28 +03:00 |
|
levlam
|
17e5d20583
|
Fix message_input_reply_to access for server messages.
|
2024-01-27 03:42:36 +03:00 |
|
levlam
|
7144475524
|
Increase MessageUnsupported version.
|
2024-01-26 23:07:39 +03:00 |
|
levlam
|
cdd7430d3a
|
Silently create chat in get_message_sender_object.
|
2024-01-26 23:03:37 +03:00 |
|
levlam
|
d3a5025dae
|
Remove unused header.
|
2024-01-26 17:07:42 +03:00 |
|
levlam
|
dace1cdb23
|
Fix GetMessagePositionQuery.
|
2024-01-26 15:37:32 +03:00 |
|
levlam
|
ba75dd2626
|
Improve update handling logging.
|
2024-01-26 15:08:16 +03:00 |
|
levlam
|
73dc2b9889
|
Use multiset to store pending updates and improve PendingPtsUpdate comparison.
|
2024-01-26 14:59:07 +03:00 |
|
levlam
|
aa6be7d9bf
|
Add canSendMessageToUser.only_local.
|
2024-01-26 14:06:27 +03:00 |
|
levlam
|
3391c643f3
|
Don't try to fetch the same update more than once.
|
2024-01-26 14:01:44 +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
|
168bba072d
|
Remove UpdatesManager::init_sessions, because sessions are inited now by choosing of random one to send request, and init_sessions isn't called after temporary key is changed.
|
2024-01-25 22:33:44 +03:00 |
|
levlam
|
233633b705
|
Don't postpone updates with pts_count > 1, because they can partly overlap with getDifference results.
|
2024-01-25 22:28:07 +03:00 |
|
levlam
|
c9a357f80d
|
Support gaps with 0 pts_count in UpdatesManager::on_get_pts_update.
|
2024-01-25 22:02:11 +03:00 |
|
levlam
|
2acbcdbb60
|
Allow sending messages to user after receiving a message from them.
|
2024-01-25 20:56:10 +03:00 |
|
levlam
|
8c2375fdfe
|
Invalidate user_full_contact_require_premium_ when contact_require_premium changes.
|
2024-01-25 20:51:52 +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
|
f2262cdcfb
|
Add checks for null user.
|
2024-01-25 19:11:54 +03:00 |
|
levlam
|
4464a8479b
|
Use FlatHashSet to check internal options.
|
2024-01-25 18:50:37 +03:00 |
|
levlam
|
dfdad00dca
|
Don't warn about topic changed to or from Author Hidden.
|
2024-01-25 18:08:53 +03:00 |
|
levlam
|
07e381eaab
|
Add SavedMessagesTopicId::is_author_hidden.
|
2024-01-25 18:04:32 +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
|
db1644bb13
|
Add and use SavedReactionTag constructor.
|
2024-01-25 17:29:29 +03:00 |
|
levlam
|
04ec06ef4f
|
Update tag labels locally.
|
2024-01-25 17:12:02 +03:00 |
|
levlam
|
2b442c1caa
|
Add ReactionManager::reget_saved_messages_tags.
|
2024-01-25 17:04:02 +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 |
|
levlam
|
81f1d61e7f
|
Improve Saved Messages tag documentation.
|
2024-01-25 14:58:32 +03:00 |
|
levlam
|
096fc39bd1
|
Cache reaction tag hash.
|
2024-01-25 14:29:22 +03:00 |
|
levlam
|
09122ba596
|
Update SavedReactionTag comparison operator.
|
2024-01-25 14:13:06 +03:00 |
|
levlam
|
0cbda12b4c
|
Remove handling of some sendMessage error messages.
|
2024-01-24 22:05:22 +03:00 |
|