levlam
|
a8a343704a
|
Add ChannelType.h.
|
2022-04-04 15:35:09 +03:00 |
|
levlam
|
7f587c24d9
|
Replace get_restricted_rights with RestrictedRights constructors.
|
2022-04-04 14:13:51 +03:00 |
|
levlam
|
df24a2ec90
|
Add td_api::openWebView.
|
2022-03-31 15:05:08 +03:00 |
|
levlam
|
3b78712b71
|
Disable reaction count reloading right after it was set.
|
2022-03-30 11:36:52 +03:00 |
|
levlam
|
8d35ac0b72
|
Avoid duplicate source in on_get_users/chats.
|
2022-03-29 15:54:36 +03:00 |
|
levlam
|
759d02770d
|
Allow to use deleteChatHistory to revoke messages for all members in some channels.
|
2022-03-29 12:14:21 +03:00 |
|
levlam
|
977ebca580
|
Allow owner to clear basic group history for everyone.
|
2022-03-28 21:23:12 +03:00 |
|
levlam
|
0375704460
|
Use get_input_user instead of have_input_user.
|
2022-03-28 20:26:28 +03:00 |
|
levlam
|
e8a82f9e70
|
Add td_api::messageWebViewDataSent/messageWebViewDataReceived.
|
2022-03-28 10:01:39 +03:00 |
|
levlam
|
479667dd1a
|
Update layer to 140.
|
2022-03-18 14:46:01 +03:00 |
|
levlam
|
62b99ba52a
|
Allow server to add reply_to_message_id for yet unsent messages.
|
2022-03-23 21:16:02 +03:00 |
|
levlam
|
358f9bb1ad
|
Pass dialog_id to register_message_reply.
|
2022-03-23 18:27:17 +03:00 |
|
levlam
|
ff014add18
|
Reget message from server after failed to get its thread with MSG_ID_INVALID.
|
2022-03-22 14:59:57 +03:00 |
|
levlam
|
dfe41c9a0d
|
Remove too new messages in on_get_history beforehand just in case.
|
2022-03-21 20:14:26 +03:00 |
|
levlam
|
ac4e273274
|
Move logging of expected errors to ERROR.
|
2022-03-21 19:52:07 +03:00 |
|
levlam
|
a434bad933
|
Improve error messages for forwards of messages with protected content.
|
2022-03-16 15:56:01 +03:00 |
|
levlam
|
37123a50ff
|
Don't create vectors using set iterators.
|
2022-03-12 13:22:07 +03:00 |
|
levlam
|
1f38124861
|
Use FlatHashSet.
|
2022-03-11 21:38:48 +03:00 |
|
levlam
|
8b16cf7271
|
Make all fields in Dependencies class private.
|
2022-03-11 15:31:28 +03:00 |
|
levlam
|
a136a9d22b
|
Move methods inside Dependencies class.
|
2022-03-11 15:10:24 +03:00 |
|
levlam
|
88ce431f39
|
Minor fixes.
|
2022-03-09 03:27:03 +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
|
985927fa2a
|
Never fetch reactions for service messages.
|
2022-03-08 21:05:46 +03:00 |
|
levlam
|
7102117ed4
|
Send at most one getMessageViews query for a given message.
|
2022-03-07 20:17:00 +03:00 |
|
levlam
|
ceb966123b
|
Poll message views every 15 seconds.
|
2022-03-07 15:34:07 +03:00 |
|
levlam
|
a2d7450d55
|
Update message reactions, only if the user is online.
|
2022-03-07 15:24:45 +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
|
04aabd8825
|
Don't allow to add yet unsent messages to downloads.
|
2022-03-04 15:16:20 +03:00 |
|
levlam
|
fdd218de4a
|
Reset updateFileDownloads after all downloaded messages are viewed.
|
2022-03-03 13:44:05 +03:00 |
|
levlam
|
4d7afaedbb
|
Improve DownloadManager initialization.
|
2022-03-01 23:09:40 +03:00 |
|
levlam
|
119999e684
|
Improve log message.
|
2022-03-01 22:12:59 +03:00 |
|
levlam
|
a59e6b8ffe
|
Add static_assert that flag in STORE_FLAG/PARSE_FLAG is bool.
|
2022-03-01 21:39:24 +03:00 |
|
levlam
|
68e1e7c0e8
|
Don't try to reload yet unreceived messages with unread reactions.
|
2022-03-01 20:50:28 +03:00 |
|
levlam
|
1f300c50e0
|
DownloadManager fixes.
|
2022-02-28 18:25:07 +03:00 |
|
levlam
|
3e4128fc1d
|
Add triggers for file removal from Downloads and search text changes.
|
2022-02-28 02:43:53 +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
|
97b2d3edd2
|
Td: proxy queries to DownloadManager
|
2022-02-25 13:11:30 +01:00 |
|
Arseny Smirnov
|
a59f262b26
|
AddFileToDownloads method
|
2022-02-23 20:56:03 +01:00 |
|
levlam
|
7af61c03af
|
Fix get_channel_difference_if_needed for searchCallMessages.
|
2022-02-22 22:54:00 +03:00 |
|
levlam
|
e618758302
|
Add message sender to get_message_text source.
|
2022-02-17 15:48:39 +03: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
|
3d8e5e00e4
|
Allow arbitrary reaction order in setChatAvailableReactions.
|
2022-02-10 20:35:42 +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
|
367a0101d2
|
Send updateChatUnreadReactionCount if can't sent updateMessageUnreadReactions.
|
2022-02-08 14:56:25 +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
|
77060757eb
|
Improve ordering of all message send requests.
|
2022-02-06 00:56:19 +03: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 |
|
levlam
|
6e82e51243
|
Remove all NetActorOnce usages.
|
2022-02-04 00:46:10 +03:00 |
|
levlam
|
649f2b85f5
|
Rename chains to chain_ids in NetQuery.
|
2022-02-03 22:32:47 +03:00 |
|
levlam
|
8b92e8f978
|
Optimize checked insert to std::map.
|
2022-02-03 16:24:09 +03:00 |
|
levlam
|
877b5fce00
|
Allow to set again the same big reaction.
|
2022-02-03 13:47:18 +03:00 |
|
levlam
|
02b99d0fbf
|
Remove includes of SequenceDispatcher.h from headers.
|
2022-02-01 19:34:14 +03:00 |
|
Arseny Smirnov
|
ad38f712e8
|
SequenceDispatcher: hide usage into NetQueryDispatcher
|
2022-02-01 18:51:36 +03:00 |
|
levlam
|
c783115974
|
Fix warnings.
|
2022-01-31 22:00:00 +03:00 |
|
levlam
|
ee3c674df1
|
Fix setChatAvailableReactions.
|
2022-01-31 18:59:39 +03:00 |
|
levlam
|
b1b945e239
|
Minor fixes.
|
2022-01-31 15:56:44 +03:00 |
|
levlam
|
ccd450789b
|
Fix message index mask.
|
2022-01-31 04:04:20 +03:00 |
|
levlam
|
24f6ba4faf
|
Improve updates order and logging in update_message.
|
2022-01-31 03:27:29 +03:00 |
|
levlam
|
462797b48a
|
Disable local can_get_added_reactions in private chats.
|
2022-01-30 13:48:32 +03:00 |
|
levlam
|
fe4232ca79
|
Add MessageReactions logging.
|
2022-01-30 13:24:27 +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
|
1cf2a9e9c9
|
Check that unread_reaction_count was changed before setting it.
|
2022-01-28 19:59:18 +03:00 |
|
levlam
|
5098dac338
|
Add and use has_unread_message_reactions.
|
2022-01-28 19:57:50 +03:00 |
|
levlam
|
fd8d15e2d2
|
Add td_api::searchMessagesFilterUnreadReaction.
|
2022-01-28 19:12:33 +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
|
452f60be0b
|
SequenceDispatcher: support multiple chains
|
2022-01-28 17:06:54 +03:00 |
|
Arseny Smirnov
|
355c2950ad
|
ChainScheduler - new implementation of SequenceDispatcher
|
2022-01-28 15:50:59 +03:00 |
|
levlam
|
4c98811b03
|
Reload linked chat full info when a chat is opened.
|
2022-01-27 18:53:03 +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
|
e9a155a2a6
|
Fix MessagesManager::get_message_available_reactions for private chats.
|
2022-01-27 17:00:44 +03:00 |
|
levlam
|
274d0babb8
|
Add Message.can_get_added_reactions.
|
2022-01-27 15:58:20 +03:00 |
|
levlam
|
1fdfd036bb
|
Use get_dialog_active_reactions if appropriate.
|
2022-01-27 15:25:41 +03:00 |
|
levlam
|
f00e7aae59
|
Fix empty reaction in setMessageReaction.
|
2022-01-27 14:19:51 +03:00 |
|
levlam
|
f9c6fb14f6
|
Relaod message reactions if failed to set reaction.
|
2022-01-26 18:48:46 +03:00 |
|
levlam
|
262d63564d
|
Fix misprint.
|
2022-01-26 17:25:55 +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
|
5edc92dd72
|
Update recent reaction choosers in setMessageReaction.
|
2022-01-26 12:50:41 +03:00 |
|
levlam
|
bad018bc32
|
Sort message reactions by the number of choosers.
|
2022-01-26 12:01:14 +03:00 |
|
levlam
|
9eb3a9a403
|
Remove chosen reaction when it is again.
|
2022-01-26 11:02:20 +03:00 |
|