levlam
|
cfc20397a0
|
Update layer to 143.
|
2022-04-19 17:43:24 +03:00 |
|
levlam
|
72f3288bec
|
Add source to get_history_from_the_end_impl.
|
2022-05-31 16:33:37 +03:00 |
|
levlam
|
bcea804864
|
Keep chat position if failed to add last message to it.
|
2022-05-31 15:39:41 +03:00 |
|
levlam
|
16959e33e4
|
Use WaitFreeHashMap for message_id_to_dialog_id_.
|
2022-05-19 19:34:48 +03:00 |
|
levlam
|
1616513c4c
|
Add and use MessagesManager::is_deleted_message.
|
2022-05-18 12:16:32 +03:00 |
|
levlam
|
0bf2aaf4f2
|
Resolve identifiers of being added secret messages by their random_id.
|
2022-05-17 16:19:39 +03:00 |
|
levlam
|
f53f750b39
|
Change replied message ID from yet unsent to persistent after the message is sent.
|
2022-05-17 15:06:40 +03:00 |
|
levlam
|
bf37753056
|
Keep reply_to_message_id for forwards to secret chats.
|
2022-05-16 21:10:18 +03:00 |
|
levlam
|
26ceefb2d4
|
Keep reply_to_message_id for yet unsent messages between restarts.
|
2022-05-16 19:47:06 +03:00 |
|
levlam
|
190117c839
|
Add local reply_to_message_id to forwarded by the server messages.
|
2022-05-16 18:11:49 +03:00 |
|
levlam
|
5a1a64764b
|
Add check that there are no two new chats added simultaneously.
|
2022-05-15 10:53:06 +03:00 |
|
levlam
|
3d796860d2
|
Use server-side forward as copy.
|
2022-05-08 23:54:04 +03:00 |
|
levlam
|
0a91c2b097
|
Remove unused argument.
|
2022-05-05 23:07:42 +03:00 |
|
levlam
|
ddbfc45925
|
Add MessagesManager::can_delete_dialog.
|
2022-04-29 14:33:35 +03:00 |
|
levlam
|
cdd82c67c9
|
Unify update variable names.
|
2022-04-28 18:39:05 +03:00 |
|
levlam
|
576c96a83d
|
Reload number of unread reactions after receive new edited message.
|
2022-04-28 18:31:25 +03:00 |
|
levlam
|
ad65446480
|
Reget unread reaction count when receive update about unread reaction on unknown message.
|
2022-04-28 17:43:29 +03:00 |
|
levlam
|
17275fe422
|
Output the number of objects to be freed on closing.
|
2022-04-25 20:52:44 +03:00 |
|
levlam
|
13bd8044cf
|
Add source to send_update_chat_unread_reaction_count.
|
2022-04-23 01:14:51 +03:00 |
|
levlam
|
a506382e4b
|
Use '= {}' instead of '= Auto()'.
|
2022-04-18 18:21:41 +03:00 |
|
levlam
|
3215bb0242
|
Replace is_silent with sound_id in notifications.
|
2022-04-15 18:36:24 +03:00 |
|
levlam
|
2696a4abbb
|
Restore failed to delete messages.
|
2022-04-12 17:34:08 +03:00 |
|
levlam
|
7a2b3abe18
|
Support new NotificationSound.
|
2022-04-11 20:01:44 +03:00 |
|
levlam
|
bb8c4ca42c
|
Fix updating of Dialog.available_reactions_generation.
|
2022-04-11 16:01:30 +03:00 |
|
levlam
|
80d57a493f
|
Move get_input_notify_peer to NotificationSettingsManager.
|
2022-04-11 13:06:16 +03:00 |
|
levlam
|
9fd72e86d0
|
Move scope notification settings tp NotificationSettingsManager.
|
2022-04-11 12:45:52 +03:00 |
|
levlam
|
88b9f35b91
|
Add PhotoSize.h.
|
2022-04-10 01:15:49 +03:00 |
|
levlam
|
cb5fe8c7cd
|
Move some related to notification settings methods to NotificationSettingsManager.
|
2022-04-08 17:17:56 +03:00 |
|
levlam
|
c5d58a8158
|
Add source to MessagesManager::repair_server_unread_count.
|
2022-04-04 19:29:03 +03:00 |
|
levlam
|
df24a2ec90
|
Add td_api::openWebView.
|
2022-03-31 15:05:08 +03:00 |
|
levlam
|
358f9bb1ad
|
Pass dialog_id to register_message_reply.
|
2022-03-23 18:27:17 +03:00 |
|
levlam
|
1f38124861
|
Use FlatHashSet.
|
2022-03-11 21:38:48 +03:00 |
|
levlam
|
a136a9d22b
|
Move methods inside Dependencies class.
|
2022-03-11 15:10:24 +03:00 |
|
levlam
|
83d26f3335
|
Add parameter only_preview to sendMessageAlbum.
|
2022-02-22 22:42:46 +03:00 |
|
levlam
|
679b70efa5
|
Return message objects from MessagesManager::send_message_group.
|
2022-02-22 21:51:35 +03:00 |
|
levlam
|
4e1f2cbf8b
|
Add td_api::searchOutgoingDocumentMessages.
|
2022-02-22 15:58:16 +03:00 |
|
levlam
|
7102117ed4
|
Send at most one getMessageViews query for a given message.
|
2022-03-07 20:17:00 +03:00 |
|
levlam
|
8f5bac2fe0
|
Reload message reactions every 15 seconds.
|
2022-03-07 15:20:22 +03:00 |
|
levlam
|
c5908619c2
|
Reload reactions in new viewed messages.
|
2022-03-07 14:27:42 +03:00 |
|
levlam
|
4d7afaedbb
|
Improve DownloadManager initialization.
|
2022-03-01 23:09:40 +03:00 |
|
levlam
|
a3cef00551
|
DownloadManager fixes and improvements.
|
2022-02-27 18:23:06 +03:00 |
|
levlam
|
4524ba0380
|
Add FileReferenceManager::get_file_info.
|
2022-02-26 21:52:14 +03:00 |
|
levlam
|
21a71e6441
|
Minor improvements.
|
2022-02-25 16:18:23 +03:00 |
|
Arseny Smirnov
|
a59f262b26
|
AddFileToDownloads method
|
2022-02-23 20:56:03 +01:00 |
|
levlam
|
24d2505f5b
|
Improve pts extraction from updates.
|
2022-02-16 21:18:36 +03:00 |
|
levlam
|
0646eb3f2e
|
Combine reload_message_reactions queries.
|
2022-02-16 17:09:26 +03:00 |
|
levlam
|
ddf1bdc5c4
|
Simplify parse_message and on_get_message_from_database.
|
2022-02-16 01:39:20 +03:00 |
|
levlam
|
644971c314
|
Always save and update available_reactions_generation.
|
2022-02-15 23:25:00 +03:00 |
|
levlam
|
b4d5d00f1e
|
Add available_reactions_generation and increase it each time reactions are shown or hidden in the chat.
|
2022-02-15 17:11:29 +03:00 |
|
levlam
|
ec4069b96a
|
Sync reactions after getMessageAddedReactions if needed.
|
2022-02-14 11:34:12 +03:00 |
|
levlam
|
0d79671f15
|
Add MessagesManager::update_message_reactions.
|
2022-02-12 14:15:14 +03:00 |
|
levlam
|
d5d4f4acf7
|
Fix remaining FlatHashMap usages.
|
2022-02-10 18:03:03 +03:00 |
|
levlam
|
c88955a8b7
|
Load unknown messages to process updateMessageReaction.
|
2022-02-08 18:48:09 +03:00 |
|
levlam
|
bcc2adeb47
|
Fix includes and formatting.
|
2022-02-08 00:04:34 +03:00 |
|
Arseny Smirnov
|
86bceb2972
|
td: replace most of std::unordered_map usages to td::FlatHashMap
|
2022-02-07 21:21:31 +01:00 |
|
levlam
|
b845766bd1
|
Add class ChainId.
|
2022-02-05 23:28:43 +03:00 |
|
levlam
|
17fb8ff6fc
|
Replace SendSecretMessageActor with a function.
|
2022-02-04 16:25:37 +03:00 |
|
Arseny Smirnov
|
ad38f712e8
|
SequenceDispatcher: hide usage into NetQueryDispatcher
|
2022-02-01 18:51:36 +03:00 |
|
levlam
|
abb2c1a105
|
Ignore reaction updates while setting reaction.
|
2022-01-30 12:55:27 +03:00 |
|
levlam
|
3150b3d491
|
Add readAllChatReactions.
|
2022-01-30 12:37:24 +03:00 |
|
levlam
|
3739c5b92f
|
Replace translateMessage with translateText.
|
2022-01-29 23:43:57 +03:00 |
|
levlam
|
41a5248169
|
Read unread reactions.
|
2022-01-28 20:27:39 +03:00 |
|
levlam
|
5098dac338
|
Add and use has_unread_message_reactions.
|
2022-01-28 19:57:50 +03:00 |
|
levlam
|
71a8abb92d
|
Implement Chat.unread_reaction_count.
|
2022-01-28 18:39:13 +03:00 |
|
levlam
|
e5084491f6
|
Add Message.unread_reactions.
|
2022-01-28 17:10:17 +03:00 |
|
Arseny Smirnov
|
355c2950ad
|
ChainScheduler - new implementation of SequenceDispatcher
|
2022-01-28 15:50:59 +03:00 |
|
levlam
|
c0a2c0de8b
|
Use get_message_active_reactions instead of get_dialog_active_reactions if appropriate.
|
2022-01-27 18:17:29 +03:00 |
|
levlam
|
f9c6fb14f6
|
Relaod message reactions if failed to set reaction.
|
2022-01-26 18:48:46 +03:00 |
|
levlam
|
97e0288363
|
Check that reaction is among available reactions before set it locally.
|
2022-01-26 16:51:47 +03:00 |
|
levlam
|
ba5c326ba8
|
Support sending big reactions.
|
2022-01-26 16:41:41 +03:00 |
|
levlam
|
1901eafe8a
|
Add td_api::getMessageAvailableReactions.
|
2022-01-26 15:25:03 +03:00 |
|
levlam
|
6a288e2516
|
Hide reactions if they are disabled in the chat.
|
2022-01-26 13:49:17 +03:00 |
|
levlam
|
bad018bc32
|
Sort message reactions by the number of choosers.
|
2022-01-26 12:01:14 +03:00 |
|
levlam
|
ce19ad822b
|
Add td_api::setMessageReaction.
|
2022-01-21 20:39:55 +03:00 |
|
levlam
|
7c4d333a77
|
Support updateMessageReactions.
|
2022-01-21 11:53:18 +03:00 |
|
levlam
|
739d2b292d
|
Add MessageReactions.
|
2022-01-20 22:54:34 +03:00 |
|
levlam
|
5f14c85a33
|
Send updateChatAvailableReactions updates when the list of active reactions changes.
|
2022-01-19 20:04:59 +03:00 |
|
levlam
|
facb8f754a
|
Move list of active reactions to MessagesManager.
|
2022-01-19 18:59:48 +03:00 |
|
levlam
|
4e657b73ab
|
Return all reactions as available in private chats.
|
2022-01-19 18:10:16 +03:00 |
|
levlam
|
06a67030a0
|
Use reload_dialog_info_full instead of get_dialog_info_full to guarantee that the data will be reloaded.
|
2022-01-19 14:37:07 +03:00 |
|
levlam
|
8339a5818e
|
Add td_api::translateMessage.
|
2022-01-14 22:28:28 +03:00 |
|
levlam
|
b0ad4e5e62
|
Add td_api::setChatAvailableReactions.
|
2022-01-05 16:23:35 +03:00 |
|
levlam
|
3becacf304
|
Add chat.available_reactions and updateChatAvailableReactions.
|
2022-01-04 16:33:57 +03:00 |
|
levlam
|
8085779cdc
|
Update copyright year.
|
2022-01-01 03:35:39 +03:00 |
|
levlam
|
ed766a4d2f
|
Add flag messageSendOptions.protect_content.
|
2021-12-28 18:19:19 +03:00 |
|
levlam
|
160ab905f1
|
Fix handling of min-channels in recent repliers.
|
2021-12-22 20:15:18 +03:00 |
|
levlam
|
cbc6d25a44
|
Replace user_id with member_id in chatEventLog.
|
2021-12-21 14:53:22 +03:00 |
|
levlam
|
4e29d0e232
|
Rename message_ttl_setting to message_ttl.
|
2021-12-21 14:06:15 +03:00 |
|
levlam
|
81cebe39eb
|
Improve naming of selected message sender in a chat.
|
2021-12-21 13:49:26 +03:00 |
|
levlam
|
27a42b88c8
|
Save need_drop_default_send_message_as_dialog_id between restarts.
|
2021-12-20 22:54:20 +03:00 |
|
levlam
|
3f28ce86d6
|
Postpone drop of default message sender until the chat is opened.
|
2021-12-20 20:23:26 +03:00 |
|
levlam
|
0ab05735c0
|
Silence expected warnings.
|
2021-12-18 23:15:06 +03:00 |
|
levlam
|
fe6c61f2ea
|
Workaround bogus C4753 MSVC warning.
|
2021-12-15 20:36:23 +03:00 |
|
levlam
|
9102a20665
|
Unload messages more often.
|
2021-12-13 15:32:46 +03:00 |
|
levlam
|
c510c4602c
|
Skip recently sent messages in find_unloadable_messages.
|
2021-12-13 15:20:09 +03:00 |
|
levlam
|
831ca4b975
|
Rename allow_saving_content to has_private_content.
|
2021-12-06 21:43:55 +03:00 |
|
levlam
|
fb9bb3cd69
|
Save and load lists of created public channels.
|
2021-12-03 20:10:30 +03:00 |
|
levlam
|
93af4377b7
|
Store created public broadcasts in MessagesManager.
|
2021-12-03 12:28:33 +03:00 |
|
levlam
|
5512700b77
|
Immediately reload *Full after invalidation in opened chats.
|
2021-12-01 23:31:10 +03:00 |
|
levlam
|
8a9506c1de
|
Add MessagesManager::can_save_message.
|
2021-11-26 17:21:21 +03:00 |
|