levlam
|
ba527b7e5d
|
Create channel chat to apply an update, even the update will be ignored.
|
2023-08-15 15:03:13 +03:00 |
|
levlam
|
4f2ad215d3
|
Initialize PTS in channels from the first received update.
|
2023-08-15 14:53:14 +03:00 |
|
levlam
|
b12ade01f6
|
Add more checks for server StoryId.
|
2023-08-10 20:22:12 +03:00 |
|
levlam
|
6c0878e738
|
Simplify condition.
|
2023-08-09 14:56:28 +03:00 |
|
levlam
|
ec6c36e578
|
Add getBlockedMessageSenders.block_list.
|
2023-07-28 17:52:44 +03:00 |
|
levlam
|
3794e65b76
|
Add td_api::BlockList.
|
2023-07-28 17:33:47 +03:00 |
|
levlam
|
f0e59da1ff
|
Process blocked_my_stories_from flags.
|
2023-07-28 16:19:05 +03:00 |
|
levlam
|
1022cc6439
|
Update layer to 161.
|
2023-07-21 15:41:44 +03:00 |
|
levlam
|
441482c0c4
|
Remove now unneeded proxies to ReactionManager.
|
2023-08-09 13:10:06 +03:00 |
|
levlam
|
9dcfd9d66d
|
Add ReactionManager and move there all reaction-related methods from StickersManager.
|
2023-08-09 12:59:48 +03:00 |
|
levlam
|
d2add02ac9
|
Move get_sorted_available_reactions to StickersManager.
|
2023-08-09 12:07:13 +03:00 |
|
levlam
|
39103e07db
|
Add ChatReactions.hpp.
|
2023-08-06 02:32:09 +03:00 |
|
levlam
|
3fa863e98e
|
Fix misprint.
|
2023-08-06 01:57:08 +03:00 |
|
levlam
|
830da27abf
|
Minor improvements.
|
2023-08-05 15:31:42 +03:00 |
|
levlam
|
5558825d61
|
Add class ReactionType.
|
2023-08-04 18:39:07 +03:00 |
|
levlam
|
50a0c551cd
|
Remove duplicate check.
|
2023-08-03 15:06:44 +03:00 |
|
levlam
|
ff3a8e446e
|
Add MessagesManager::load_last_dialog_message instead of get_history_from_the_end.
|
2023-07-28 14:33:54 +03:00 |
|
levlam
|
58a1ae8e8d
|
Directly call get_history_impl if appropriate.
|
2023-07-28 14:19:43 +03:00 |
|
levlam
|
f5a066f7ed
|
Support loading of history from the end in get_history_impl.
|
2023-07-28 14:12:22 +03:00 |
|
levlam
|
73d5b2dcbb
|
Simplify calls to load_messages.
|
2023-07-28 13:50:02 +03:00 |
|
levlam
|
c071678be1
|
Add source to MessagesManager::get_history_impl.
|
2023-07-28 13:32:07 +03:00 |
|
levlam
|
2dba29669f
|
Delete unused MessagesManager::get_history.
|
2023-07-28 13:22:52 +03:00 |
|
levlam
|
16183df0aa
|
Adjust offset and limit in get_history_impl.
|
2023-07-28 13:22:07 +03:00 |
|
levlam
|
bd0ca2d6fc
|
Combine all getChatHistory queries.
|
2023-07-28 03:36:21 +03:00 |
|
levlam
|
9618d58732
|
Combine get_history_from_the_end queries.
|
2023-07-27 20:40:56 +03:00 |
|
levlam
|
5c8b12b105
|
Simplify limit initialization in get_history_from_the_end_impl.
|
2023-07-27 18:19:10 +03:00 |
|
levlam
|
1fbbecca9b
|
Don't register message users/channels for bots.
|
2023-07-27 13:16:48 +03:00 |
|
levlam
|
5bc2634d12
|
Use FlatHashMap for random_id_to_message_id.
|
2023-07-26 13:38:10 +03:00 |
|
levlam
|
0edd5b1651
|
Support "CHANNEL_INVALID" errors in response to channels.getDifference.
|
2023-07-25 14:12:58 +03:00 |
|
levlam
|
5110a188b2
|
Improve MessageReplyInfo logging and updating.
|
2023-07-24 15:56:03 +03:00 |
|
levlam
|
62677720fc
|
Immediately unload messages in closed chats after updates.channelDifferenceTooLong.
|
2023-07-24 15:42:38 +03:00 |
|
levlam
|
1f6342c88e
|
Retry loading of channel difference later if receive invalid poll in a message.
|
2023-07-23 20:42:30 +03:00 |
|
levlam
|
451c559539
|
Add various checks.
|
2023-07-23 01:41:59 +03:00 |
|
levlam
|
2f4b8ba8b3
|
Don't allow replies to supergroup creation message.
|
2023-07-22 23:07:51 +03:00 |
|
levlam
|
102222e64f
|
Add source to on_update_channel_max_unavailable_message_id.
|
2023-07-22 22:40:26 +03:00 |
|
levlam
|
7498aad742
|
Improve handling of message reading up to unknown message.
|
2023-07-22 20:03:35 +03:00 |
|
levlam
|
ea848ff2e4
|
Fix MessagesManager::can_delete_dialog.
|
2023-07-22 19:58:26 +03:00 |
|
levlam
|
9bebe6dff6
|
Skip updateChannelTooLong in unknown chats.
|
2023-07-22 19:17:55 +03:00 |
|
levlam
|
ad8e887aae
|
Keep error logging for invalid unread count only if the counters are recalculated.
|
2023-07-22 18:58:01 +03:00 |
|
levlam
|
02456042d6
|
Avoid expected error logging.
|
2023-07-22 16:38:56 +03:00 |
|
levlam
|
4984307f36
|
Improve logging.
|
2023-07-22 14:16:49 +03:00 |
|
levlam
|
240fbe5f36
|
Fix via_bot_user_id.
|
2023-07-21 14:49:12 +03:00 |
|
levlam
|
a3e277f7c0
|
Add source to get_user_force.
|
2023-07-20 20:38:25 +03:00 |
|
levlam
|
999aaaf610
|
Update username cache with usernames loaded from database.
|
2023-07-20 20:09:46 +03:00 |
|
levlam
|
b7551dab33
|
Poll maximum active story identifiers of non-contact users.
|
2023-07-18 13:53:22 +03:00 |
|
levlam
|
1b3d14a3f9
|
Add source to reload_user_full and reload_chat_full.
|
2023-07-17 18:22:41 +03:00 |
|
levlam
|
fc6ef9d590
|
Avoid expected error logging.
|
2023-07-13 21:55:53 +03:00 |
|
levlam
|
b9473decc2
|
Always list actor_id first in lambda capture.
|
2023-07-11 17:53:43 +03:00 |
|
levlam
|
3b28485a3f
|
Always apply awaited sent messages.
|
2023-07-11 17:14:02 +03:00 |
|
levlam
|
bd6e6f28bc
|
Fix handling of RegetDialogLogEvent.
|
2023-07-07 16:44:08 +03:00 |
|
levlam
|
0f8de6c91d
|
Fix warnings.
|
2023-07-06 20:55:02 +03:00 |
|
levlam
|
aff810db0d
|
Return back manual load_messages call if receive no messages from database to repair last message with a server-side request.
|
2023-07-06 01:20:34 +03:00 |
|
levlam
|
6ded199729
|
Load last chat messages if there are no known messages in the chat.
|
2023-07-06 01:09:32 +03:00 |
|
levlam
|
ad193a389c
|
Add FileManager::get_missing_file_parts.
|
2023-07-05 10:55:16 +03:00 |
|
levlam
|
6b010c0207
|
Add more checks for chat existence before scheduling channel difference.
|
2023-07-04 15:52:06 +03:00 |
|
levlam
|
8d7ba4da1b
|
Add source to schedule_get_channel_difference.
|
2023-07-04 15:23:39 +03:00 |
|
levlam
|
8bc4d800bb
|
Forcely create all chats needed for a message before adding it.
|
2023-07-03 14:09:17 +03:00 |
|
levlam
|
9da2c92ff0
|
Fix source in add_message_to_dialog_message_list.
|
2023-07-03 13:47:08 +03:00 |
|
levlam
|
af9351bdfe
|
Reload viewers of replied stories.
|
2023-07-02 19:10:40 +03:00 |
|
levlam
|
2bf47d0809
|
Minor fixes.
|
2023-07-01 16:22:01 +03:00 |
|
levlam
|
bcf9ff7d43
|
Explicitly include telegram_api.h in cpp files.
|
2023-07-01 14:53:04 +03:00 |
|
levlam
|
00f88f65f6
|
Repair channel unread counts if the app wasn't launched for long time.
|
2023-06-30 15:16:04 +03:00 |
|
levlam
|
c157ffbfb5
|
Ensure that user_ids are valid in MessageViewers.
|
2023-06-28 21:40:15 +03:00 |
|
levlam
|
26a0d109c2
|
Make MessageViewers fields private.
|
2023-06-28 21:35:59 +03:00 |
|
levlam
|
d3e0372b14
|
Use Chat as owner of stories in td_api.
|
2023-06-27 21:51:36 +03:00 |
|
levlam
|
34161cd627
|
Support more story chat notification settings.
|
2023-06-27 19:09:43 +03:00 |
|
levlam
|
fca432eb43
|
Don't reload message reactions for messages with being read reactions.
|
2023-06-23 14:39:07 +03:00 |
|
levlam
|
04c4e932fe
|
Reload stories from viewed messages once in 5 minutes.
|
2023-06-23 13:40:59 +03:00 |
|
levlam
|
26c8c0f4fa
|
Add td_api::reportStory.
|
2023-06-21 23:23:19 +03:00 |
|
levlam
|
d3a08e06dc
|
Read opened stories on server.
|
2023-06-15 14:51:41 +03:00 |
|
levlam
|
f182e105eb
|
Register web page story sender users for UserFromMessage.
|
2023-06-13 17:14:19 +03:00 |
|
levlam
|
62e7640701
|
Add information about Story to web page.
|
2023-06-13 15:45:10 +03:00 |
|
levlam
|
64badee6f2
|
Add get_message_content_min_user_ids and register story sender.
|
2023-06-13 13:46:12 +03:00 |
|
levlam
|
b46d311130
|
Forward stories without header.
|
2023-06-12 20:11:41 +03:00 |
|
levlam
|
4b146ee33a
|
Add chatNotificationSettings.mute_stories/use_default_mute_stories.
|
2023-06-12 20:09:23 +03:00 |
|
levlam
|
686f0eabe6
|
Add td_api::messageStory and td_api::inputMessageStory.
|
2023-06-12 19:23:58 +03:00 |
|
levlam
|
0b842dec1e
|
Register media timestamp replies to stories.
|
2023-06-09 14:08:16 +03:00 |
|
levlam
|
7c386ca353
|
Support media timestamps in message that a replies to stories.
|
2023-06-09 13:25:52 +03:00 |
|
levlam
|
48f97c3216
|
Support dropping of the replied story.
|
2023-06-08 20:32:57 +03:00 |
|
levlam
|
607ffad07f
|
Ignore is_pinned flag for scheduled messages.
|
2023-06-08 19:13:53 +03:00 |
|
levlam
|
fa94abaccb
|
Allow to reply stories.
|
2023-06-08 17:27:24 +03:00 |
|
levlam
|
6116573a3b
|
Add td_api::MessageReplyTo.
|
2023-06-07 20:32:52 +03:00 |
|
levlam
|
b19b4a3e4f
|
Improve handling of expired messages.
|
2023-06-07 17:00:37 +03:00 |
|
levlam
|
3a20137c03
|
Use StoryFullId for replied story.
|
2023-06-07 15:10:46 +03:00 |
|
levlam
|
114c92f365
|
Store replied story sender as DialogId.
|
2023-06-06 15:56:09 +03:00 |
|
levlam
|
56314c5c79
|
Add Message.replied_story_sender_user_id/replied_story_id.
|
2023-06-05 20:45:28 +03:00 |
|
levlam
|
e7ca635db9
|
Improve MessageReplyHeader field names.
|
2023-06-05 19:45:05 +03:00 |
|
levlam
|
3a6494dd65
|
Add td_api::editStory.
|
2023-05-30 14:41:36 +03:00 |
|
levlam
|
936c27577e
|
Check that input content is non-empty inside corresponding functions.
|
2023-05-25 21:25:16 +03:00 |
|
levlam
|
030e440757
|
Update layer to 160.
|
2023-05-01 21:07:01 +03:00 |
|
levlam
|
6e011cb212
|
Add and use full_message_id variable.
|
2023-06-01 15:46:57 +03:00 |
|
levlam
|
24d012bc73
|
Add td_api::searchRecentlyFoundChat.
|
2023-05-16 21:41:19 +03:00 |
|
levlam
|
f733cb56ce
|
Fix my_recent_chooser when removing reaction.
|
2023-05-01 18:28:06 +03:00 |
|
levlam
|
e4a15cc0ef
|
Fix MessageReaction::set_my_recent_chooser_dialog_id.
|
2023-05-01 18:09:27 +03:00 |
|
levlam
|
ac81a35283
|
Add td_api::getChatFolderChatCount.
|
2023-05-01 14:57:16 +03:00 |
|
levlam
|
29c0004bfd
|
Automatically send screenshot notification messages.
|
2023-04-30 16:00:20 +03:00 |
|
levlam
|
1f8129e94f
|
Invalidate authentication codes from copied messages.
|
2023-04-28 16:36:07 +03:00 |
|
levlam
|
340312e3da
|
Add messageSourceScreenshot and notify about screenshotted codes.
|
2023-04-28 14:44:35 +03:00 |
|
levlam
|
601a216078
|
Add reactions on behalf of channels.
|
2023-04-27 19:31:31 +03:00 |
|
levlam
|
e528c85550
|
Remove now unneeded parameters from MessageReactions::remove_reaction.
|
2023-04-27 16:42:38 +03:00 |
|