levlam
|
6d4d8ad5f8
|
Improve logging in on_update_read_stories.
|
2023-07-13 16:21:43 +03:00 |
|
levlam
|
ae1870a0b7
|
Add StoryManager::get_story_list.
|
2023-07-13 15:53:40 +03:00 |
|
levlam
|
a108922b6f
|
Use StoryListId in load_active_stories.
|
2023-07-13 15:44:26 +03:00 |
|
levlam
|
39b0b53ae9
|
Simplify update_story_list_sent_total_count usage.
|
2023-07-13 15:37:11 +03:00 |
|
levlam
|
39eb3fdb0d
|
Improve name of update_story_list_sent_total_count function.
|
2023-07-13 15:34:53 +03:00 |
|
levlam
|
6b4586da9b
|
Fix deletion of active stories.
|
2023-07-13 15:34:08 +03:00 |
|
levlam
|
8d971da083
|
Fix MessageReaction creation.
|
2023-07-13 13:54:58 +03:00 |
|
levlam
|
961fe5fba7
|
Add database table for active stories.
|
2023-07-13 02:03:02 +03:00 |
|
levlam
|
1669f8d4b8
|
Init sessions if there are multiple sessions.
|
2023-07-12 21:08:01 +03:00 |
|
levlam
|
a9712d7afa
|
Use DelayDispatcher for video stories.
|
2023-07-12 20:41:44 +03:00 |
|
levlam
|
723b2d1fba
|
Send updateStory before returning the story to the app.
|
2023-07-12 16:28:20 +03:00 |
|
levlam
|
a4e4a20fb4
|
Add StoryManager::send_update_story.
|
2023-07-12 16:16:55 +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
|
07ece1faea
|
Improve PTS restore even more.
|
2023-07-11 16:20:35 +03:00 |
|
levlam
|
6b376a71e8
|
Improve updatePtsChanged handling by using getDifference instead of getState, which allows to get all pending updates.
|
2023-07-11 16:10:56 +03:00 |
|
levlam
|
00a6271edb
|
Restore PTS after overflow.
|
2023-07-11 15:50:50 +03:00 |
|
levlam
|
6217e8c8f2
|
Don't drop state on updatePtsChanged.
|
2023-07-11 15:23:35 +03:00 |
|
levlam
|
583f10706a
|
Improve logging on SessionConnection closure.
|
2023-07-11 13:42:47 +03:00 |
|
levlam
|
4b3de26c0c
|
Add getStory.only_local.
|
2023-07-11 12:29:10 +03:00 |
|
levlam
|
53ea5b0fa1
|
Add Story.is_being_edited.
|
2023-07-11 00:33:25 +03:00 |
|
levlam
|
989432d33e
|
Delete expired stories from database.
|
2023-07-10 19:43:26 +03:00 |
|
levlam
|
87591a0704
|
Add class StoryDbStory.
|
2023-07-10 18:50:03 +03:00 |
|
levlam
|
f031ddf102
|
Store edit generations outside of Story.
|
2023-07-10 17:45:16 +03:00 |
|
levlam
|
558305046c
|
Use get_story_force if appropriate.
|
2023-07-10 16:50:01 +03:00 |
|
levlam
|
82b524de0a
|
Create chats for received story identifiers.
|
2023-07-10 16:39:49 +03:00 |
|
levlam
|
2805ecaa66
|
Fix on_update_user_max_read_story_id usage.
|
2023-07-10 15:58:56 +03:00 |
|
levlam
|
79e09cc757
|
Ignore deleted stories in StoryManager::parse_story.
|
2023-07-10 15:47:56 +03:00 |
|
levlam
|
4ae098c3a8
|
Add StoryFullId to dependencies.
|
2023-07-10 15:36:38 +03:00 |
|
levlam
|
958aab66e6
|
Add StoryManager::get_story_force.
|
2023-07-10 14:56:39 +03:00 |
|
levlam
|
b9672dbf97
|
Don't create stories without content.
|
2023-07-10 14:14:12 +03:00 |
|
levlam
|
00172347d5
|
Delete stories from database.
|
2023-07-10 13:52:42 +03:00 |
|
levlam
|
7f5b42e165
|
Add stories to database.
|
2023-07-10 13:39:17 +03:00 |
|
levlam
|
e523a5b2f6
|
Add story database.
|
2023-07-10 13:18:32 +03:00 |
|
levlam
|
9d4087b101
|
Ensure that stories are sent in the correct order.
|
2023-07-09 16:01:14 +03:00 |
|
levlam
|
f8f6a0a5c9
|
Ensure ordering for StoryManager requests.
|
2023-07-09 15:24:20 +03:00 |
|
levlam
|
c15a9d2464
|
Add td_api::updateStoryListChatCount.
|
2023-07-08 18:50:58 +03:00 |
|
levlam
|
39b84d89ea
|
Improve method setChatActiveStoriesList name.
|
2023-07-08 16:53:29 +03:00 |
|
levlam
|
c6e5506f9a
|
tg_cli: add as_story_list.
|
2023-07-08 15:55:49 +03:00 |
|
levlam
|
a1038bb20c
|
Add class StoryListId.
|
2023-07-08 15:42:23 +03:00 |
|
levlam
|
186f496a54
|
Add story.has_expired_viewers.
|
2023-07-08 09:32:30 +03:00 |
|
levlam
|
5819c049a3
|
Consistently use American "expiration date".
|
2023-07-08 08:48:40 +03:00 |
|
levlam
|
3937eb7bdf
|
Add "story_viewers_expiration_delay" option.
|
2023-07-08 08:42:59 +03:00 |
|
levlam
|
dbed591a01
|
Improve storyListArchive name.
|
2023-07-08 02:40:19 +03:00 |
|
levlam
|
b5d513dba0
|
Fix has_unread_active_stories for self.
|
2023-07-07 19:46:38 +03:00 |
|
levlam
|
c28286d110
|
Fix get_chat_active_stories_object.
|
2023-07-07 19:30:31 +03:00 |
|
levlam
|
fdcec41c93
|
Add and use ContactsManager::on_update_user_max_read_story_id.
|
2023-07-07 18:35:47 +03:00 |
|
levlam
|
cb8418f840
|
Improve calls to on_update_user_has_stories.
|
2023-07-07 18:29:22 +03:00 |
|
levlam
|
f589137af4
|
Add user.has_unread_active_stories.
|
2023-07-07 18:25:24 +03:00 |
|
levlam
|
d40ea33796
|
Store max_active_story_id in User object.
|
2023-07-07 18:06:14 +03:00 |
|
levlam
|
288666c1fe
|
Load all read stories from time to time.
|
2023-07-07 17:41:30 +03:00 |
|
levlam
|
987faa7c6a
|
Rename activeStories to chatActiveStories.
|
2023-07-07 16:52:56 +03:00 |
|
levlam
|
00608a45a3
|
Return chat_id back to activeStories.
|
2023-07-07 16:51:14 +03:00 |
|
levlam
|
bd6e6f28bc
|
Fix handling of RegetDialogLogEvent.
|
2023-07-07 16:44:08 +03:00 |
|
levlam
|
e323256e65
|
Add more logging.
|
2023-07-07 16:22:12 +03:00 |
|
levlam
|
bf3f1c33ae
|
Return updateChatActiveStories in getCurrentState.
|
2023-07-07 16:18:18 +03:00 |
|
levlam
|
3afa9fb5f5
|
Improve update name.
|
2023-07-07 16:13:12 +03:00 |
|
levlam
|
5c3a15e266
|
Remove chat_id from activeStories.
|
2023-07-07 16:08:03 +03:00 |
|
levlam
|
e27ded859b
|
Send update when active stories are moved from one list to another.
|
2023-07-07 16:01:05 +03:00 |
|
levlam
|
7a3604d5b6
|
Add source to StoryManager::on_dialog_active_stories_order_updated.
|
2023-07-07 15:52:55 +03:00 |
|
levlam
|
1737fde5a5
|
Save StoryListId in ActiveStories.
|
2023-07-07 15:49:46 +03:00 |
|
levlam
|
03b0bc84e9
|
Fix StoryManager::update_active_stories_order.
|
2023-07-07 14:31:32 +03:00 |
|
levlam
|
0f8de6c91d
|
Fix warnings.
|
2023-07-06 20:55:02 +03:00 |
|
levlam
|
5130ec7760
|
Add emojiStatus.expiration_date.
|
2023-07-06 20:14:42 +03:00 |
|
levlam
|
565403e241
|
Return raw custom emoji identifiers in emojiStatuses.
|
2023-07-06 19:48:24 +03:00 |
|
levlam
|
628c4bb51f
|
Improve field name.
|
2023-07-06 19:26:33 +03:00 |
|
levlam
|
5c3bbc7bb9
|
Add getStoryNotificationSettingsExceptions.
|
2023-07-06 19:15:00 +03:00 |
|
levlam
|
b1cb40b22f
|
Add scopeNotificationSettings.use_default_mute_stories.
|
2023-07-06 18:42:44 +03:00 |
|
levlam
|
25c73f32f5
|
Reload active story lists by timeout.
|
2023-07-06 18:22:20 +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
|
a8c1b24318
|
Improve error messages.
|
2023-07-05 16:18:45 +03:00 |
|
levlam
|
aed9823659
|
Fix dup_story_content.
|
2023-07-05 15:40:08 +03:00 |
|
levlam
|
e3625824f9
|
Forcely create chat owning story.
|
2023-07-05 14:48:53 +03:00 |
|
levlam
|
c827eaab6f
|
Support FILE_PART_INVALID errors for sendMedia.
|
2023-07-05 13:08:10 +03:00 |
|
levlam
|
ad193a389c
|
Add FileManager::get_missing_file_parts.
|
2023-07-05 10:55:16 +03:00 |
|
levlam
|
e3e1eda011
|
Completely drop partial remote location if part 0 is missing.
|
2023-07-05 01:13:46 +03:00 |
|
levlam
|
e5b31eb6bd
|
Improve on_story_replied.
|
2023-07-04 19:15:33 +03:00 |
|
levlam
|
88f04fe304
|
Add EditStoryLogEvent.
|
2023-07-04 18:42:43 +03:00 |
|
levlam
|
eb38a48d17
|
Don't compare story notification settings for chat notification settings exceptions.
|
2023-07-04 17:23:22 +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
|
4898f42121
|
Clear more data about deleted stories.
|
2023-07-04 13:42:03 +03:00 |
|
levlam
|
c19cb9b623
|
Improve delete_pending_story.
|
2023-07-03 22:54:42 +03:00 |
|
levlam
|
93149d09fd
|
Add SendStoryLogEvent.
|
2023-07-03 22:03:29 +03:00 |
|
levlam
|
ce95433d54
|
Forcely create chats needed for received story.
|
2023-07-03 21:01:10 +03:00 |
|
levlam
|
13320e5c79
|
Add storer and parser for PendingStory.
|
2023-07-03 20:39:42 +03:00 |
|
levlam
|
9345dc2799
|
Add add_story_dependencies.
|
2023-07-03 20:03:26 +03:00 |
|
levlam
|
fac13ff3a3
|
Check parsed UserPrivacySettingRule for validness.
|
2023-07-03 19:30:50 +03:00 |
|
levlam
|
5ee4070d4e
|
Store DialogIds in UserPrivacySettingRule.
|
2023-07-03 19:20:41 +03:00 |
|
levlam
|
51547fba0e
|
Add StoryManager::delete_pending_story.
|
2023-07-03 18:01:25 +03:00 |
|
levlam
|
36518625c3
|
Add storer and parser for Story.
|
2023-07-03 16:03:28 +03:00 |
|
levlam
|
b04eeb4d87
|
Ignore parsed MessageContent of unknown type.
|
2023-07-03 15:46:31 +03:00 |
|
levlam
|
4dc1bd4988
|
Add storer/parser for StoryContent.
|
2023-07-03 15:42:42 +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
|
063f1e8ff6
|
Improve config reloading on restart.
|
2023-07-03 11:26:32 +03:00 |
|
levlam
|
af9351bdfe
|
Reload viewers of replied stories.
|
2023-07-02 19:10:40 +03:00 |
|
levlam
|
312006a207
|
Various fixes.
|
2023-07-01 19:54:22 +03:00 |
|
levlam
|
0ea42c5054
|
Remove unneeded explicit api.h includes.
|
2023-07-01 19:46:10 +03:00 |
|
levlam
|
424de61fcf
|
Add explicit telegram_api.h includes.
|
2023-07-01 19:23:45 +03:00 |
|
levlam
|
7a7d62fd44
|
Fix misprint.
|
2023-07-01 19:13:17 +03:00 |
|
levlam
|
36792bf7b3
|
Make AuthManager::DbState private.
|
2023-07-01 18:40:19 +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
|
25e6e576e8
|
Pass const call to do_update_call.
|
2023-07-01 13:19:46 +03:00 |
|
levlam
|
d67d93e5af
|
Don't use downcast_call in simple cases.
|
2023-07-01 13:11:27 +03:00 |
|
levlam
|
6702a001f0
|
Remove unused api.hpp includes.
|
2023-07-01 12:20:39 +03:00 |
|
levlam
|
7981c4086d
|
Improve documentation.
|
2023-06-30 18:57:16 +03:00 |
|
levlam
|
a210f47062
|
Fix update_active_stories_order.
|
2023-06-30 18:21:15 +03:00 |
|
levlam
|
5a8f8fbe29
|
Drop unreceived active stories from the list.
|
2023-06-30 18:04:17 +03:00 |
|
levlam
|
88eadb56fb
|
Maintain ordered lists of all stories.
|
2023-06-30 17:12:19 +03:00 |
|
levlam
|
1e3aa30ed5
|
Add source to StoryManager::load_dialog_expiring_stories.
|
2023-06-30 16:20:09 +03:00 |
|
levlam
|
a6f2a8f9ae
|
Maintain last story date in the list.
|
2023-06-30 16:05:08 +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
|
6bd9aea325
|
Update story order when user.is_premium changes.
|
2023-06-30 14:41:39 +03:00 |
|
levlam
|
ab04885dc4
|
Update active stories order.
|
2023-06-30 14:10:42 +03:00 |
|
levlam
|
6f8fbaebf8
|
Always show self stories in the main story list.
|
2023-06-29 16:49:48 +03:00 |
|
levlam
|
2ef550f661
|
Fix processing of active stories.
|
2023-06-29 16:43:06 +03:00 |
|
levlam
|
eb78cf1883
|
Add "story_caption_length_max" option.
|
2023-06-29 15:20:30 +03:00 |
|
levlam
|
cec0ab47b5
|
Add Story.is_edited flag.
|
2023-06-29 15:15:12 +03:00 |
|
levlam
|
b8849a2f81
|
Add td_api::loadActiveStories.
|
2023-06-29 14:22:50 +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
|
3a3ae9eabf
|
Explicitly pass Td to Location constructor and don't register locations for bots.
|
2023-06-28 19:01:00 +03:00 |
|
levlam
|
40d11e7935
|
Show changelog stories in story lists.
|
2023-06-28 18:23:40 +03:00 |
|
levlam
|
a52bdbf79c
|
Add LoadDialogExpiringStoriesLogEvent.
|
2023-06-28 17:52:33 +03:00 |
|
levlam
|
ce9bce5994
|
Reload chat active stories when receive a new story.
|
2023-06-28 17:10:14 +03:00 |
|
levlam
|
ffdebbea1f
|
Hide story list for stories of non-contacts.
|
2023-06-28 16:56:17 +03:00 |
|
levlam
|
f8c5220aad
|
Improve function name.
|
2023-06-28 16:38:33 +03:00 |
|
levlam
|
01eac2d6d8
|
tg_cli: simplify addContact.
|
2023-06-28 16:29:20 +03:00 |
|
levlam
|
ebf478ddec
|
Improve get_json_value_long.
|
2023-06-28 16:29:04 +03:00 |
|
levlam
|
f023646c6d
|
Add class StoryList and activeStories.list.
|
2023-06-28 16:09:44 +03:00 |
|
levlam
|
5fd1d06948
|
Improve method names.
|
2023-06-27 22:45:01 +03:00 |
|
levlam
|
5e9d98abce
|
Improve td_api::toggleChatStoriesAreHidden and remove User.stories_are_hidden.
|
2023-06-27 22:40:34 +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
|
b36ea8934b
|
Add more story scope notification settings.
|
2023-06-27 18:30:05 +03:00 |
|
levlam
|
108b0fc9f8
|
Fix misprint.
|
2023-06-27 17:39:26 +03:00 |
|
levlam
|
b5020a8fef
|
Add autoDownloadSettings.preload_stories.
|
2023-06-27 17:37:48 +03:00 |
|
levlam
|
3854a8b872
|
Add story.can_be_replied.
|
2023-06-27 17:29:30 +03:00 |
|
levlam
|
09a30a4b3c
|
Support stories_changelog_user_id option.
|
2023-06-27 17:26:17 +03:00 |
|
levlam
|
47d30cc7dc
|
Add sendStory.protect_content.
|
2023-06-27 17:19:10 +03:00 |
|
levlam
|
7571f90a98
|
Add Story.can_be_forwarded.
|
2023-06-27 17:16:22 +03:00 |
|
levlam
|
288043556b
|
Fix CHECK.
|
2023-06-27 15:41:41 +03:00 |
|
levlam
|
a53fb1d1ee
|
Fix children type names.
|
2023-06-26 20:31:26 +03:00 |
|
levlam
|
1217128a50
|
Remove unneeded string literal additions.
|
2023-06-26 19:51:04 +03:00 |
|
levlam
|
fcf462b255
|
Output define TDC_VECTOR once.
|
2023-06-26 19:33:22 +03:00 |
|
levlam
|
ac018e21b2
|
Add write_tl_to_multiple_files to allow C++ autogenerated header splitting.
|
2023-06-26 19:25:40 +03:00 |
|
levlam
|
f4b4893124
|
Support additional headers in gen_output_begin.
|
2023-06-26 17:01:19 +03:00 |
|
levlam
|
8f9a4dcaa0
|
Run TL class generators from auto/ directory.
|
2023-06-26 15:33:02 +03:00 |
|
levlam
|
496dc3284e
|
Always compare file content before replacing it.
|
2023-06-26 15:08:36 +03:00 |
|
levlam
|
aab207cdd2
|
Extract gen_output_begin_once from gen_output_begin.
|
2023-06-26 13:14:26 +03:00 |
|
levlam
|
d171366faa
|
Add gen_import_declaration to TL_writer.
|
2023-06-26 11:44:09 +03:00 |
|
levlam
|
bdc8670646
|
Remove unused TlWriterCCommon field.
|
2023-06-26 11:25:32 +03:00 |
|
levlam
|
6ce85fdc4f
|
Remove explicit mode parameter from tl_file_utils.
|
2023-06-26 06:59:19 +03:00 |
|
levlam
|
fe79157056
|
Fix TlWriterCCommon::gen_forward_class_declaration to generate only forward declarations.
|
2023-06-26 00:20:40 +03:00 |
|
levlam
|
37b7e2421a
|
Pass StoryFullId to on_delete_story.
|
2023-06-25 00:37:52 +03:00 |
|
levlam
|
6c4e6eb6ff
|
Explicitly pass Td to get_notification_type_object.
|
2023-06-25 00:09:48 +03:00 |
|
levlam
|
35a3a37e6b
|
Explicitly pass Td to get_push_message_content_object.
|
2023-06-24 23:53:50 +03:00 |
|
levlam
|
6f814dc513
|
Add Story.is_visible_only_for_self.
|
2023-06-24 23:15:05 +03:00 |
|
levlam
|
b8bccde43c
|
Improve method and field names.
|
2023-06-23 19:00:34 +03:00 |
|
levlam
|
2702d19dc4
|
Remove is_me from on_get_user.
|
2023-06-23 18:22:58 +03:00 |
|
levlam
|
a87a41f22d
|
Init True fields for some manually created telegram_api objects.
|
2023-06-23 17:53:38 +03:00 |
|
levlam
|
c3c8af9104
|
Correctly initialize boolean fields in messages from short updates.
|
2023-06-23 16:49:26 +03:00 |
|
levlam
|
8d7262836b
|
Remove incorrect "ignored" comments in conversion from secret chat objects.
|
2023-06-23 16:28:48 +03:00 |
|
levlam
|
c34b4c3ef7
|
Add storyVideo.is_animation.
|
2023-06-23 16:06:02 +03:00 |
|
levlam
|
fca432eb43
|
Don't reload message reactions for messages with being read reactions.
|
2023-06-23 14:39:07 +03:00 |
|
levlam
|
50fdce9ae1
|
Don't add empty promises to query list.
|
2023-06-23 13:50:39 +03:00 |
|
levlam
|
a9679cbaab
|
Update addApplicationChangelog documentation.
|
2023-06-23 13:45:45 +03:00 |
|
levlam
|
04c4e932fe
|
Reload stories from viewed messages once in 5 minutes.
|
2023-06-23 13:40:59 +03:00 |
|
levlam
|
ebac96e7ec
|
Add get_message_content_story_full_id.
|
2023-06-22 22:39:47 +03:00 |
|
levlam
|
d901f35d21
|
Reload opened stories once in a minute.
|
2023-06-22 22:23:24 +03:00 |
|
levlam
|
5353605f53
|
Use reload_story to get a story for the first time.
|
2023-06-22 22:03:56 +03:00 |
|
levlam
|
afe46a6743
|
Combine reload_story queries.
|
2023-06-22 21:53:03 +03:00 |
|
levlam
|
0f9f380509
|
Reload opened stories once a minute.
|
2023-06-22 21:40:34 +03:00 |
|
levlam
|
70e84101ac
|
Support READ_STORIES push notifications.
|
2023-06-22 21:24:44 +03:00 |
|
levlam
|
b151c1b8b2
|
Add td_api::pushMessageContentStory.
|
2023-06-22 21:18:04 +03:00 |
|
levlam
|
10c44c0cbf
|
Support shorter story links.
|
2023-06-22 20:42:48 +03:00 |
|
levlam
|
f39b906b28
|
Support STORY_DELETED push notification.
|
2023-06-22 15:56:34 +03:00 |
|
levlam
|
579eef5f10
|
Rename ChatReportReason to ReportReason.
|
2023-06-22 13:47:52 +03:00 |
|
levlam
|
26c8c0f4fa
|
Add td_api::reportStory.
|
2023-06-21 23:23:19 +03:00 |
|
levlam
|
0ac33fa9c0
|
Add comment about returning story viewers from cache.
|
2023-06-20 16:40:52 +03:00 |
|
levlam
|
11ae003562
|
Update recent story viewers from the full list.
|
2023-06-20 16:12:12 +03:00 |
|
levlam
|
4e2e6f6e61
|
Cache received story viewers.
|
2023-06-20 15:54:47 +03:00 |
|
levlam
|
c885e3f5fa
|
Add MessageViewer.is_empty().
|
2023-06-20 14:48:51 +03:00 |
|
levlam
|
f152098b92
|
Update Story.can_get_viewers by timeout.
|
2023-06-20 00:05:19 +03:00 |
|
levlam
|
a86b7538a7
|
Delete story from active stories or delete completely when it expires.
|
2023-06-19 20:45:58 +03:00 |
|
levlam
|
00494f8dc3
|
Add global identifiers to stories.
|
2023-06-19 20:13:44 +03:00 |
|
levlam
|
63495795c5
|
Return active stories from cache.
|
2023-06-19 19:55:30 +03:00 |
|
levlam
|
917b4dc1b6
|
Update active stories when a new active story s received.
|
2023-06-19 19:52:16 +03:00 |
|
levlam
|
ca8b80d198
|
Add Story.can_get_viewers.
|
2023-06-19 19:13:08 +03:00 |
|
levlam
|
2bf612c020
|
Add MessageViewers::get_sublist.
|
2023-06-19 18:45:56 +03:00 |
|
levlam
|
c9cd221d77
|
Delete outdated comments.
|
2023-06-19 17:48:12 +03:00 |
|
levlam
|
2ea17ff61a
|
Add td_api::getStoryViewers.
|
2023-06-18 23:25:50 +03:00 |
|
levlam
|
8cb17eb1c3
|
Update max_read_story_id from log events.
|
2023-06-17 23:27:19 +03:00 |
|
levlam
|
25bfb761d4
|
Allow to change "archive_all_stories" option.
|
2023-06-16 17:55:54 +03:00 |
|
levlam
|
cebea14b03
|
Add logging for RawConnection life cycle.
|
2023-06-16 15:16:03 +03:00 |
|
levlam
|
4c1ee918b3
|
Add "archive_all_stories" option.
|
2023-06-16 14:58:06 +03:00 |
|
levlam
|
509dd95882
|
Allow IPv6 connections on watchOS.
|
2023-06-16 13:24:21 +03:00 |
|
levlam
|
ee8e2b1481
|
Avoid expected error logging on watchOS.
|
2023-06-16 13:08:50 +03:00 |
|
levlam
|
799531d506
|
Improve story active period checks.
|
2023-06-15 21:48:13 +03:00 |
|
levlam
|
7935fb183c
|
Add userFullInfo.has_pinned_stories.
|
2023-06-15 20:53:58 +03:00 |
|
levlam
|
cc14dbb8a1
|
Add td_api::premiumLimitTypeActiveStoryCount.
|
2023-06-15 20:38:46 +03:00 |
|
levlam
|
087765114a
|
Reload views of opened stories every 10 seconds.
|
2023-06-15 20:07:40 +03:00 |
|
levlam
|
77379bd20f
|
Update interaction info of opened owned stories.
|
2023-06-15 19:30:28 +03:00 |
|
levlam
|
e7c8b0cded
|
Add and use StoryId::get_input_story_ids.
|
2023-06-15 18:57:12 +03:00 |
|
levlam
|
37e5847cc3
|
Add td_api::closeStory and register opened owned stories.
|
2023-06-15 18:34:05 +03:00 |
|
levlam
|
541165e21f
|
Always treat sent stories as read.
|
2023-06-15 15:45:40 +03:00 |
|
levlam
|
2aeeb09b4d
|
Add log event for story reading.
|
2023-06-15 15:25:32 +03:00 |
|
levlam
|
d3a08e06dc
|
Read opened stories on server.
|
2023-06-15 14:51:41 +03:00 |
|
levlam
|
0daccb0850
|
Keep max_read_story_id, even ActiveStories are unknown.
|
2023-06-15 14:10:48 +03:00 |
|
levlam
|
fc878782b6
|
Add StoryManager::get_active_stories.
|
2023-06-15 13:49:23 +03:00 |
|
levlam
|
f4d8fddddd
|
Add td_api::updateActiveStories.
|
2023-06-15 13:47:48 +03:00 |
|
levlam
|
59477f8f98
|
Improve field names.
|
2023-06-15 13:44:09 +03:00 |
|
levlam
|
966eee8a07
|
Update active stories from UserFull.
|
2023-06-15 13:22:36 +03:00 |
|
levlam
|
56df91b265
|
Support updateReadStories.
|
2023-06-15 13:16:31 +03:00 |
|
levlam
|
e89cc266a0
|
Remove deleted stories from the list of active stories.
|
2023-06-15 13:10:02 +03:00 |
|
levlam
|
6af37fc003
|
Always re-check active stories before updating.
|
2023-06-15 12:46:26 +03:00 |
|
levlam
|
680bb80bad
|
Add ActiveStories cache.
|
2023-06-15 12:42:42 +03:00 |
|
levlam
|
2968141507
|
Add only active stories to the list of active stories.
|
2023-06-15 12:00:19 +03:00 |
|
levlam
|
c72a2161d1
|
Process telegram_api::storyItemDeleted everywhere.
|
2023-06-14 20:17:40 +03:00 |
|
levlam
|
26d8af58cc
|
Support storyItemSkipped.
|
2023-06-14 20:10:57 +03:00 |
|
levlam
|
eeefafc214
|
Add td_api::activeStories and return it from getUserActiveStories.
|
2023-06-14 19:27:08 +03:00 |
|
levlam
|
964471af8b
|
Remove redundant story fields.
|
2023-06-14 16:37:09 +03:00 |
|
levlam
|
a4bf0bffa8
|
Use webPage duration if story duration isn't available.
|
2023-06-14 16:19:58 +03:00 |
|
levlam
|
863ee6ac33
|
Send expired story views to the server.
|
2023-06-14 16:06:48 +03:00 |
|
levlam
|
e040b63fd8
|
Add td_api::openStory.
|
2023-06-14 15:17:24 +03:00 |
|
levlam
|
29a1b7e3d6
|
Support media timestamps in replies to stories.
|
2023-06-13 18:20:26 +03:00 |
|
levlam
|
f182e105eb
|
Register web page story sender users for UserFromMessage.
|
2023-06-13 17:14:19 +03:00 |
|
levlam
|
e4382ee206
|
Update message content when story from web page is changed.
|
2023-06-13 16:17:01 +03:00 |
|
levlam
|
62e7640701
|
Add information about Story to web page.
|
2023-06-13 15:45:10 +03:00 |
|
levlam
|
deee074e2f
|
Support min-stories.
|
2023-06-13 14:01:30 +03:00 |
|
levlam
|
64badee6f2
|
Add get_message_content_min_user_ids and register story sender.
|
2023-06-13 13:46:12 +03:00 |
|
levlam
|
55d33a8665
|
Never merge story content files.
|
2023-06-13 12:46:31 +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
|
0791baa6c1
|
Add scopeNotificationSettings.mute_stories.
|
2023-06-12 19:41:18 +03:00 |
|
levlam
|
686f0eabe6
|
Add td_api::messageStory and td_api::inputMessageStory.
|
2023-06-12 19:23:58 +03:00 |
|
levlam
|
9a8262f146
|
Add DialogNotificationSettings::get_input_peer_notify_settings.
|
2023-06-12 16:29:35 +03:00 |
|
levlam
|
96fef663bb
|
Improve inputStoryContentVideo documentation.
|
2023-06-12 16:25:31 +03:00 |
|
levlam
|
3938aea03b
|
Improve method name.
|
2023-06-12 16:10:56 +03:00 |
|
levlam
|
c62c84665a
|
Update sendMessage usages in tests and examples.
|
2023-06-12 15:30:07 +03:00 |
|
levlam
|
289df57852
|
Update user.has_active_stories after receiving active stories from server.
|
2023-06-12 15:07:37 +03:00 |
|
levlam
|
ed4d6df307
|
Add user.has_active_stories.
|
2023-06-12 15:04:49 +03:00 |
|
levlam
|
20901b6ac5
|
Add td_api::getArchivedStories.
|
2023-06-09 17:21:34 +03:00 |
|
levlam
|
894e246d8f
|
Add sendStory.active_period.
|
2023-06-09 16:41:40 +03:00 |
|
levlam
|
bd4004e0be
|
Add and use ScopeNotificationSettings::get_input_peer_notify_settings.
|
2023-06-09 15:08:00 +03:00 |
|
levlam
|
d51ad4f4e9
|
Update media timestamps in replied messages when story changes.
|
2023-06-09 14:16:56 +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
|
38b8078779
|
Update reply_in_chat_id documentation.
|
2023-06-07 18:39:43 +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
|
457511dca9
|
Add StoryManager::is_inaccessible_story.
|
2023-06-06 16:11:12 +03:00 |
|
levlam
|
f869eca9c4
|
Add StoryManager::get_story_duration.
|
2023-06-06 16:07:29 +03:00 |
|
levlam
|
f4a2dbde41
|
Add StoryManager::have_story.
|
2023-06-06 15:58:27 +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
|
2467633a74
|
Support replies to stories in UpdatesManager::is_acceptable_message_reply_header.
|
2023-06-05 19:29:38 +03:00 |
|
levlam
|
b82d711508
|
Ignore STORY_NOT_MODIFIED errors for regular users.
|
2023-06-05 18:28:21 +03:00 |
|
levlam
|
f57ab79f67
|
Add td_api::internalLinkTypeStory.
|
2023-06-05 17:56:16 +03:00 |
|
levlam
|
2fcdb02c39
|
Add td_api::getStory.
|
2023-06-05 16:55:06 +03:00 |
|
levlam
|
11c353dc7f
|
Add td_api::toggleUserStoriesAreArchived.
|
2023-06-05 16:07:44 +03:00 |
|
levlam
|
3adf6294dc
|
Fix chat info checks.
|
2023-06-05 15:30:56 +03:00 |
|
levlam
|
0823f5b169
|
Add user.stories_are_archived flag.
|
2023-06-05 15:20:24 +03:00 |
|
levlam
|
a4bd45bd53
|
Add separate class td_api::storyVideo.
|
2023-06-05 14:51:32 +03:00 |
|
levlam
|
71faaae22f
|
Support precise video duration.
|
2023-06-05 14:33:00 +03:00 |
|
levlam
|
dfeeaf8f87
|
Avoid restoring of deleted stories.
|
2023-06-02 16:46:10 +03:00 |
|
levlam
|
ede8911f05
|
Improve updateStpry updates during story edit.
|
2023-06-02 16:12:18 +03:00 |
|
levlam
|
970173b7f1
|
Add compare_story_contents function.
|
2023-06-02 15:54:43 +03:00 |
|
levlam
|
3501529a95
|
Add updateStoryDeleted,
|
2023-06-01 18:25:59 +03:00 |
|
levlam
|
7ca2061848
|
Add DeleteStoryOnServerLogEvent.
|
2023-06-01 17:41:46 +03:00 |
|
levlam
|
d929790bad
|
Add td_api::deleteStory.
|
2023-06-01 17:28:49 +03:00 |
|
levlam
|
eec9826dec
|
Process telegram_api::updateStory updates.
|
2023-06-01 16:27:00 +03:00 |
|
levlam
|
7bea5721bf
|
Add updateStory.
|
2023-06-01 13:55:11 +03:00 |
|
levlam
|
bf4694db65
|
Improve error messages.
|
2023-05-30 15:02:42 +03:00 |
|
levlam
|
0e2fcdde77
|
Destroy big StoryManager fields asynchronously.
|
2023-05-30 14:44:30 +03:00 |
|
levlam
|
3a6494dd65
|
Add td_api::editStory.
|
2023-05-30 14:41:36 +03:00 |
|
levlam
|
81053032d8
|
Add dup_story_content.
|
2023-05-29 23:00:32 +03:00 |
|
levlam
|
a0fd771da8
|
Add StoryId::is_server().
|
2023-05-29 21:43:03 +03:00 |
|
levlam
|
e169cfc7f7
|
Add copy_story_content function.
|
2023-05-29 20:48:31 +03:00 |
|
levlam
|
77ab0f45c1
|
Add td_api::toggleStoryIsPinned.
|
2023-05-26 14:21:36 +03:00 |
|
levlam
|
936c27577e
|
Check that input content is non-empty inside corresponding functions.
|
2023-05-25 21:25:16 +03:00 |
|
levlam
|
2684df5f01
|
Support story reupload in sendStory.
|
2023-05-25 21:21:10 +03:00 |
|
levlam
|
cdb36baa85
|
tg_cli: improve story sending.
|
2023-05-25 21:10:02 +03:00 |
|
levlam
|
dab66ef541
|
Pass PendingStory to do_send_story.
|
2023-05-25 21:09:31 +03:00 |
|
levlam
|
85e8116a4b
|
tg_cli: add class PrivacyRules.
|
2023-05-25 18:38:15 +03:00 |
|
levlam
|
eb1581a233
|
Add td_api::setStoryPrivacyRules.
|
2023-05-25 18:18:28 +03:00 |
|
levlam
|
173ba06d62
|
Support FILE_PART_MISSING errors for stories.
|
2023-05-25 15:46:04 +03:00 |
|
levlam
|
04764cbc2e
|
Delete partial remote location of uploaded stories.
|
2023-05-25 15:21:43 +03:00 |
|
levlam
|
c73ae5c781
|
Add td_api::sendStory.
|
2023-05-25 15:03:29 +03:00 |
|
levlam
|
b27b9caa89
|
Add FileType::VideoStory.
|
2023-05-25 14:19:54 +03:00 |
|
levlam
|
b88312dda1
|
Add FileType::PhotoStory.
|
2023-05-25 01:26:26 +03:00 |
|
levlam
|
d2ef7d67a7
|
Add get_story_content_input_media.
|
2023-05-24 19:35:45 +03:00 |
|
levlam
|
2b74fb9542
|
Add get_story_content_any_file_id.
|
2023-05-24 17:24:36 +03:00 |
|
levlam
|
41da14fd17
|
Add and use get_story_content_duration.
|
2023-05-24 16:23:05 +03:00 |
|
levlam
|
9610b06abc
|
Fix error logging.
|
2023-05-24 15:46:53 +03:00 |
|
levlam
|
0ef9365e02
|
Add td_api::InputStoryContent.
|
2023-05-23 16:05:04 +03:00 |
|
levlam
|
a049076797
|
Add td_api::getUserExpiringStories.
|
2023-05-21 12:39:53 +03:00 |
|
levlam
|
e763cb2803
|
Add td_api::getUserPinnedStories.
|
2023-05-20 23:24:36 +03:00 |
|
levlam
|
a247dd60ba
|
Support file reference repair for stories.
|
2023-05-20 01:23:33 +03:00 |
|
levlam
|
963091c0cf
|
Add StoryManager::reload_story.
|
2023-05-19 23:34:08 +03:00 |
|
levlam
|
0b8c71419f
|
Add StoryManager::on_get_stories.
|
2023-05-19 23:25:52 +03:00 |
|
levlam
|
8c9bf81359
|
Add StoryManager::delete_story_files.
|
2023-05-19 17:00:33 +03:00 |
|
levlam
|
88620d1347
|
Add G()->story_manager().
|
2023-05-19 16:20:19 +03:00 |
|
levlam
|
f5208dd8bd
|
Add video.preload_prefix_size.
|
2023-05-19 14:57:57 +03:00 |
|
levlam
|
0ec13a13e2
|
Add td_api::story.
|
2023-05-19 13:41:15 +03:00 |
|
levlam
|
c202439a04
|
Add class StoryFullId.
|
2023-05-18 19:57:50 +03:00 |
|
levlam
|
50a0ae50af
|
Add class StoryInteractionInfo.
|
2023-05-18 18:41:07 +03:00 |
|
levlam
|
17fc0c3a88
|
Add separate class for StoryContent.
|
2023-05-18 17:20:22 +03:00 |
|
levlam
|
0fb5916ea2
|
Support simultaneous setUserPrivacySettingRules queries.
|
2023-05-08 20:54:35 +03:00 |
|
levlam
|
59a1ab6cc1
|
Improve PrivacyInfo field names.
|
2023-05-08 20:35:47 +03:00 |
|
levlam
|
021aa7fac7
|
Add class Story.
|
2023-05-08 20:09:01 +03:00 |
|
levlam
|
76321fd9b4
|
Add storer for UserPrivacySettingRules.
|
2023-05-08 18:30:44 +03:00 |
|
levlam
|
a05940b705
|
Make PrivacyManager an ordinary manager.
|
2023-05-08 15:23:57 +03:00 |
|
levlam
|
65e01ad063
|
Ignore errors when processing telegram_api::PrivacyRule.
|
2023-05-08 14:54:57 +03:00 |
|
levlam
|
95f2961c9b
|
Move UserPrivacySetting to a separate header.
|
2023-05-08 14:41:08 +03:00 |
|
levlam
|
c4504af340
|
Explicitly pass Td to UserPrivacySettingRule.
|
2023-05-08 14:15:32 +03:00 |
|
levlam
|
586586d50c
|
Move UserPrivacySettingRule to a separate header.
|
2023-05-08 13:50:51 +03:00 |
|
levlam
|
0030ae30f8
|
Locally update close friends after changing them.
|
2023-05-04 18:42:18 +03:00 |
|
levlam
|
161cc91acf
|
Add td_api::setCloseFriends.
|
2023-05-04 18:27:03 +03:00 |
|
levlam
|
86946c6b1e
|
Reload once contacts to repair close friends.
|
2023-05-03 20:55:28 +03:00 |
|
levlam
|
fb57555f3d
|
Add td_api::getCloseFriends.
|
2023-05-03 20:42:47 +03:00 |
|
levlam
|
a65af73b90
|
Add User.is_close_friend.
|
2023-05-03 20:22:16 +03:00 |
|
levlam
|
d7f72e03b0
|
Add td_api::userPrivacySettingRuleAllowCloseFriends.
|
2023-05-03 19:42:36 +03:00 |
|
levlam
|
83dfdcd9ee
|
Add class StoryId.
|
2023-05-01 22:33:52 +03:00 |
|
levlam
|
b0ab122d91
|
Add StoryManager.
|
2023-05-01 22:19:16 +03:00 |
|
levlam
|
030e440757
|
Update layer to 160.
|
2023-05-01 21:07:01 +03:00 |
|
levlam
|
76e2ff1140
|
Add messageSponsorTypeWebsite.
|
2023-06-02 15:13:20 +03:00 |
|
levlam
|
2969f570b8
|
Add class td_api::messageSponsor.
|
2023-06-02 14:42:28 +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
|
96da28d4fb
|
Remove supergroupFullInfo.can_set_username; chat username can be changed by its owner and only by the owner.
|
2023-05-10 17:17:26 +03:00 |
|
levlam
|
cdb3df8966
|
Log PTS and QTS gap statistics for each million events.
|
2023-05-09 12:53:48 +03:00 |
|
levlam
|
e8e1236e31
|
Allow clicking sponsored message after it was viewed.
|
2023-05-04 17:33:35 +03:00 |
|
levlam
|
1a5f81163d
|
Add td_api::clickSponsoredMessage.
|
2023-05-04 17:21:50 +03:00 |
|
levlam
|
10338c0490
|
Add privacy setting for bio.
|
2023-05-04 17:03:37 +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
|
44d2b0af1e
|
Fix method name.
|
2023-04-29 22:27:31 +03:00 |
|
levlam
|
1b891ddc7b
|
Add chatFolderInfo.is_shareable.
|
2023-04-29 22:04:25 +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
|
da813f3ee9
|
Support updates.difference in on_get_pts_update.
|
2023-04-27 22:47:45 +03:00 |
|
levlam
|
797156bf11
|
Fast PTS gap repair.
|
2023-04-27 22:01:10 +03:00 |
|
levlam
|
b34955e7a9
|
Use separate request to confirm PTS and QTS.
|
2023-04-27 20:21:30 +03:00 |
|
levlam
|
601a216078
|
Add reactions on behalf of channels.
|
2023-04-27 19:31:31 +03:00 |
|
levlam
|
036a7cd539
|
Ensure that my_dialog_id is the same for all reactions.
|
2023-04-27 18:46:51 +03:00 |
|
levlam
|
b1c627a3be
|
Fix chosen reaction order in MessageReactions::update_from.
|
2023-04-27 17:26:26 +03:00 |
|
levlam
|
e528c85550
|
Remove now unneeded parameters from MessageReactions::remove_reaction.
|
2023-04-27 16:42:38 +03:00 |
|
levlam
|
89cd51b461
|
Add MessageReaction::update_from.
|
2023-04-27 16:37:15 +03:00 |
|
levlam
|
2d0fa11624
|
Support my_recent_chooser_dialog_id.
|
2023-04-27 16:20:54 +03:00 |
|
levlam
|
61e8e863d9
|
Update comment about recent voters.
|
2023-04-27 14:34:52 +03:00 |
|
levlam
|
aa42602701
|
Add td_api::suggestedActionRestorePremium.
|
2023-04-25 16:48:16 +03:00 |
|
levlam
|
38efb6d673
|
Support MessageSenders as poll voters.
|
2023-04-25 16:41:04 +03:00 |
|
levlam
|
48d72677d3
|
Update layer to 159.
|
2023-04-25 14:27:58 +03:00 |
|
levlam
|
66234ae253
|
Fix IPv6 usage on WatchOS.
|
2023-06-11 13:25:06 +03:00 |
|
levlam
|
e3256e7b4c
|
Use td::append if possible.
|
2023-06-10 23:14:03 +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
|
677219a251
|
Simplify OrderedMessages::auto_attach_message.
|
2023-06-07 13:23:13 +03:00 |
|
levlam
|
dec814ce34
|
Fix auto_attach_message.
|
2023-06-07 13:14:24 +03:00 |
|
levlam
|
ea217b10c1
|
Add MessagesManager::set_message_reply.
|
2023-06-07 00:57:27 +03:00 |
|
levlam
|
302a8c137b
|
Add comment about missing is_changed update.
|
2023-06-06 14:36:49 +03:00 |
|
levlam
|
2aaf0f5290
|
Fix attach_menu_enabled updating.
|
2023-06-06 14:34:07 +03:00 |
|
levlam
|
771771a2c7
|
Check reply_in_dialog_id in relevant places.
|
2023-06-06 14:32:56 +03:00 |
|
levlam
|
31eee9d084
|
Explicitly pass encoding to htmlspecialchars.
|
2023-06-05 00:05:21 +03:00 |
|
levlam
|
ad8d1f8964
|
Explicitly pass flags to htmlspecialchars to have consistent behavior.
|
2023-06-04 23:10:06 +03:00 |
|
levlam
|
9b8bb82897
|
tg_cli: improve as_message_sender.
|
2023-06-03 22:12:45 +03:00 |
|
levlam
|
4580cfc23b
|
Skip unsupported sponsored messages.
|
2023-06-02 13:01:32 +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
|
0ebc404ec5
|
Move file_loader logging to DEBUG by default.
|
2023-05-31 14:44:17 +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
|
b0ff4376e3
|
tg_cli: remove legacy api_id/api_hash options.
|
2023-05-27 21:39:04 +03:00 |
|
levlam
|
e1ecdf8399
|
Check wait_size and quick_ack first.
|
2023-05-26 13:24:55 +03:00 |
|
levlam
|
5ed34993be
|
Save top_thread_message_id in RequestWebViewQuery.
|
2023-05-25 17:31:34 +03:00 |
|
levlam
|
a8be92146d
|
Add class DocumentsManager::Subtype.
|
2023-05-25 13:57:12 +03:00 |
|
levlam
|
54b34e9180
|
Add more checks for scheduled messages.
|
2023-05-25 12:13:47 +03:00 |
|
levlam
|
dd7fe47db8
|
Add FileManager::copy_file_id.
|
2023-05-24 15:28:40 +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
|
5a59c933fb
|
Add missing semicolons after CHECK.
|
2023-05-22 19:31:58 +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
|
89c47026e0
|
Fix compilation error with old compilers.
|
2023-05-22 16:00:14 +03:00 |
|
levlam
|
9756d174ee
|
Clear contains_mention/contains_unread_mention message flags for bots.
|
2023-05-22 15:52:51 +03:00 |
|
levlam
|
fc82657626
|
Add create_photo function.
|
2023-05-22 15:35:25 +03:00 |
|
levlam
|
3d4b4ac014
|
Simplify inputMessageContent processing.
|
2023-05-21 23:28:34 +03:00 |
|
levlam
|
c70ef59cde
|
Add get_input_thumbnail_photo_size.
|
2023-05-21 23:05:28 +03:00 |
|
levlam
|
c18818013a
|
Add get_input_photo_size function.
|
2023-05-21 16:35:33 +03:00 |
|
levlam
|
f831357538
|
Make some constructors constexpr.
|
2023-05-21 13:21:49 +03:00 |
|
levlam
|
d65541d45a
|
Use get_message_file_ids if possible.
|
2023-05-20 00:49:16 +03:00 |
|
levlam
|
3861b927ba
|
Remove outdated comment superseded by static_assert.
|
2023-05-19 14:17:44 +03:00 |
|
levlam
|
45dfc6e51b
|
Use FlatHashSet to store unallowed boundaries.
|
2023-05-19 14:03:22 +03:00 |
|
levlam
|
d510bc8435
|
Use FlatHashSet to store common TLDs.
|
2023-05-19 14:00:49 +03:00 |
|
levlam
|
1da3955271
|
Move Photo merging to merge_photos function.
|
2023-05-18 17:03:56 +03:00 |
|
levlam
|
2d60dadfe6
|
Improve important comment visibility.
|
2023-05-18 15:44:00 +03:00 |
|
AYMENJD
|
b844da31d4
|
Fix misprint.
|
2023-05-18 15:00:38 +03:00 |
|
levlam
|
348a209ab7
|
Fix includes.
|
2023-05-18 14:33:00 +03:00 |
|
levlam
|
fe4b1a16ef
|
Fix warning.
|
2023-05-18 02:11:44 +03:00 |
|
levlam
|
cbb10e0f3d
|
Remove 4-letter usernames from the list of short usernames.
|
2023-05-18 02:05:58 +03:00 |
|
levlam
|
f3a1407f8f
|
Simplify constant FlatHashSet initialization.
|
2023-05-18 02:03:39 +03:00 |
|
levlam
|
20b312b144
|
Don't replace "Request aborted" errors for files.
|
2023-05-17 13:52:47 +03:00 |
|
levlam
|
d93c06fceb
|
Remove unsafe Status::operator==.
|
2023-05-17 13:45:26 +03:00 |
|
levlam
|
5b09f60629
|
Log message_id of all outgoing messages.
|
2023-05-17 13:19:40 +03:00 |
|
levlam
|
bce488f6bf
|
Log message_id of all incoming packets.
|
2023-05-17 13:00:21 +03:00 |
|
levlam
|
b48668e8bb
|
Fix misprint.
|
2023-05-16 21:53:55 +03:00 |
|
levlam
|
7df9b39186
|
Improve logging of server time difference updates.
|
2023-05-15 20:23:38 +03:00 |
|
levlam
|
43e4746d2a
|
Remove uninitialized MsgInfo.session_id.
|
2023-05-15 19:40:27 +03:00 |
|
levlam
|
93d283aca6
|
Improve parameter names.
|
2023-05-15 19:30:44 +03:00 |
|
levlam
|
64312c9b04
|
Drop some Sqlite PMC values when dialog database is recreated.
|
2023-05-15 19:02:58 +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
|
8880e56967
|
Remove expected error logging.
|
2023-05-15 15:55:56 +03:00 |
|
levlam
|
9cd859d313
|
Resave sticker set without stickers only if it has already been inited.
|
2023-05-15 15:27:23 +03:00 |
|
levlam
|
9b4de71f28
|
Remove expected error logging.
|
2023-05-15 14:49:37 +03:00 |
|
levlam
|
48a97d5497
|
Resave changed sticker set to database.
|
2023-05-15 14:10:35 +03:00 |
|
levlam
|
012424074b
|
Expect that short name of sticker sets can change.
|
2023-05-15 14:00:37 +03:00 |
|
levlam
|
5f5f4029e0
|
Fix error logging.
|
2023-05-15 13:40:02 +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
|
5d499d594c
|
Reset server time difference if it is more than 15 seconds in the future.
|
2023-05-14 23:11:23 +03:00 |
|
levlam
|
a395337265
|
Fix session_id type.
|
2023-05-14 23:00:56 +03:00 |
|
levlam
|
f29774acc6
|
Fix message_id type.
|
2023-05-14 22:42:58 +03:00 |
|
levlam
|
c9f83caf9f
|
Reset server time difference after a "MessageId is too high" error.
|
2023-05-14 21:58:54 +03:00 |
|
levlam
|
edf0aaaa2a
|
Fix misprint in error message.
|
2023-05-14 01:41:23 +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 |
|
levlam
|
83648d58d4
|
Remove now unneeded has_qts_messages checks.
|
2023-05-11 21:54:28 +03:00 |
|
levlam
|
da91824003
|
Simplify OrderedMessages::insert.
|
2023-05-11 20:31:09 +03:00 |
|
levlam
|
432ee4c2c4
|
Remove now redundant parameters have_previous/have_next from add_message_to_dialog.
|
2023-05-11 20:27:00 +03:00 |
|
levlam
|
2f091e93cc
|
Improve variable names.
|
2023-05-11 19:54:48 +03:00 |
|
levlam
|
fca143dca8
|
Pass from_update == true first time when adding failed_to_send messages.
|
2023-05-11 19:43:30 +03:00 |
|
levlam
|
87b658f2e2
|
Explicitly attach messages to the next in on_get_history.
|
2023-05-11 19:21:58 +03:00 |
|
levlam
|
042c75df63
|
Mark on_get_message parameters as const.
|
2023-05-11 17:52:53 +03:00 |
|
levlam
|
f1a12e26b2
|
Early drop unneeded reply_markup_message_id.
|
2023-05-11 16:54:17 +03:00 |
|
levlam
|
8495dbe580
|
Always ignore non-personal RemoveKeyboard/ForceReply keyboards.
|
2023-05-11 16:37:07 +03:00 |
|
levlam
|
492db8032e
|
Immediately call add_scheduled_message_to_dialog for scheduled messages.
|
2023-05-11 15:46:54 +03:00 |
|
levlam
|
70b3057627
|
Avoid redundant message_id checks; it has already been checked.
|
2023-05-11 13:49:22 +03:00 |
|
levlam
|
bbde50ba03
|
Use "message" for unique_ptr<Message> variables.
|
2023-05-11 13:26:41 +03:00 |
|
levlam
|
0cc22ca3da
|
Fix saving of are_media_timestamp_entities_found.
|
2023-05-11 13:20:39 +03:00 |
|
levlam
|
666af51345
|
Add MessagesManager::fix_new_message.
|
2023-05-11 13:12:04 +03:00 |
|
levlam
|
1a4e91a207
|
Don't try to load from database previously failed to load dialogs in add_dialog.
|
2023-05-11 12:14:25 +03:00 |
|
levlam
|
ed127c1b8d
|
Add MessagesManager::add_dialog_for_new_message.
|
2023-05-11 12:12:43 +03:00 |
|
levlam
|
7e82f0f860
|
Move expected logging from ERROR to INFO.
|
2023-05-11 00:31:15 +03:00 |
|
levlam
|
372509e838
|
Always call on_message_deleted_from_database from delete_message_from_database.
|
2023-05-10 23:26:50 +03:00 |
|
levlam
|
151291dc50
|
Remove redundant assignments.
|
2023-05-10 23:05:34 +03:00 |
|
levlam
|
c612ef6764
|
Explicitly create Dialog before adding a message to it.
|
2023-05-10 20:56:33 +03:00 |
|
levlam
|
11210427a4
|
Explicitly pass from_database to add_message_to_dialog.
|
2023-05-10 20:41:02 +03:00 |
|
levlam
|
cc6082c458
|
Check that last and last_new messages aren't changed by bots.
|
2023-05-10 20:00:01 +03:00 |
|
levlam
|
d672fa9faa
|
Check that database message ids aren't set for bots.
|
2023-05-10 19:35:11 +03:00 |
|
levlam
|
04d9879607
|
Add OrderedMessages::empty().
|
2023-05-10 18:57:17 +03:00 |
|
levlam
|
887b69ec0e
|
Remove unused field.
|
2023-05-10 15:41:57 +03:00 |
|
levlam
|
de22159b7f
|
Don't keep exact remote location for bots.
|
2023-05-10 15:29:38 +03:00 |
|
levlam
|
37c46b8b12
|
Increase min_gzipped_size for bots.
|
2023-05-10 02:06:24 +03:00 |
|
levlam
|
59fcab80a1
|
Don't send updateMessageContent for yet unsent messages to bots.
|
2023-05-10 02:00:20 +03:00 |
|
levlam
|
6c5c26db7f
|
Immediately ignore user photo if it's identifier is still the same.
|
2023-05-10 01:50:06 +03:00 |
|
levlam
|
b41bb654e4
|
Drop via_bot when recending failed to send message.
|
2023-05-10 01:13:32 +03:00 |
|
levlam
|
e00c66123a
|
Reopen sessions after receiving MTPROTO_CLUSTER_INVALID.
|
2023-05-09 01:10:14 +03:00 |
|
levlam
|
c41fb7f6df
|
Drop reopen_sessions_after_get_config_ after successful session reopen.
|
2023-05-09 01:08:45 +03:00 |
|
levlam
|
ce76e164a9
|
Update basic group position when it is joined or left.
|
2023-05-08 17:29:50 +03:00 |
|
levlam
|
ac8c4718d3
|
Reload information about empty joined chats once to check whether they are still joined.
|
2023-05-08 17:17:35 +03:00 |
|
levlam
|
cda4c97b2d
|
Document that changePhoneNumber can be used only by the official mobile apps now.
|
2023-05-08 13:01:54 +03:00 |
|
levlam
|
a2439e9f55
|
Sort directly received IP addresses.
|
2023-05-07 01:43:00 +03:00 |
|
levlam
|
a05c86d6ec
|
Improve replies for bots.
|
2023-05-06 21:47:10 +03:00 |
|
levlam
|
7eb512a0b2
|
Disable ordered messages for bots.
|
2023-05-06 02:39:17 +03:00 |
|
levlam
|
22a82c117d
|
Find unloadable messages using LRU.
|
2023-05-06 02:37:53 +03:00 |
|
levlam
|
b482ffbbeb
|
Check that bots doesn't use suffix load.
|
2023-05-06 01:56:29 +03:00 |
|
levlam
|
ad20309a1d
|
Don't use last_new_message_id by bots.
|
2023-05-06 01:46:11 +03:00 |
|
levlam
|
47b225c11f
|
Move limit increase to OrderedMessages::get_history.
|
2023-05-05 16:31:33 +03:00 |
|
levlam
|
aef0cfe4bc
|
Add OrderedMessages::get_history.
|
2023-05-05 16:03:03 +03:00 |
|
levlam
|
96979d91b6
|
Check parameters first in MessagesManager::get_dialog_history.
|
2023-05-05 15:37:50 +03:00 |
|
levlam
|
dbcf3e5eec
|
Use more empty names for unused parameters.
|
2023-05-05 14:18:46 +03:00 |
|
levlam
|
c0911577f7
|
Use empty name for unused move constructor/assignment parameter.
|
2023-05-05 13:51:19 +03:00 |
|
levlam
|
c2795ca904
|
Remove OrderedMessages::Iterator copy constructor.
|
2023-05-05 13:02:54 +03:00 |
|
levlam
|
a7c963dabb
|
Add OrderedMessage::Iterator::clear.
|
2023-05-05 12:51:48 +03:00 |
|
levlam
|
fc136f46df
|
Randomize temporary auth key validity time.
|
2023-05-04 16:00:14 +03:00 |
|
levlam
|
d3ade3d64d
|
Persist temporary keys for main sessions if multiple sessions enabled.
|
2023-05-04 15:54:21 +03:00 |
|
levlam
|
796a1f83c3
|
Support saving and loading of temporary auth keys.
|
2023-05-04 15:44:39 +03:00 |
|
levlam
|
648c6cd3ef
|
Improve error message.
|
2023-05-04 15:13:31 +03:00 |
|
levlam
|
b5b0dbe331
|
Reuse get_auth_key_state.
|
2023-05-04 14:59:09 +03:00 |
|
levlam
|
14c570f334
|
Move AuthKeyState to a separate header.
|
2023-05-04 14:53:07 +03:00 |
|
levlam
|
53cd6c1a79
|
Improve includes.
|
2023-05-03 16:38:49 +03:00 |
|
levlam
|
c47dde6ea9
|
Don't warn about yet unsent messages with small identifiers for bots.
|
2023-05-03 16:28:40 +03:00 |
|
levlam
|
f2d11e12f6
|
Use small identifiers for yet unsent and local messages for bots.
|
2023-05-03 14:34:06 +03:00 |
|
levlam
|
7507d8e20c
|
Don't restart on message_id overflow.
|
2023-05-03 14:23:18 +03:00 |
|
levlam
|
d64d3fe258
|
Ignore last_/first_database_message_id for bots.
|
2023-05-03 14:08:20 +03:00 |
|
levlam
|
d71d6afe17
|
Don't use last_message_id for bots.
|
2023-05-03 13:29:04 +03:00 |
|
levlam
|
71b7487f51
|
Don't attach messages for bots.
|
2023-05-03 13:18:05 +03:00 |
|
levlam
|
bba924f6a9
|
Make remaining OrderedMessage fields private.
|
2023-05-03 12:59:10 +03:00 |
|
levlam
|
4b048c4bbf
|
Avoid preliminary have_previous_ checks.
|
2023-05-03 12:54:55 +03:00 |
|
levlam
|
1eb98e9ce5
|
Improve OrderedMessages::insert.
|
2023-05-03 12:29:41 +03:00 |
|
levlam
|
4444204874
|
Minor condition improvements.
|
2023-05-03 12:22:47 +03:00 |
|
levlam
|
503a1e0e7e
|
Make OrderedMessages::iterator private.
|
2023-05-03 11:51:09 +03:00 |
|
levlam
|
85aedaa8c0
|
Add more logic to OrderedMessages::insert.
|
2023-05-03 11:48:06 +03:00 |
|
levlam
|
b8cd0bb597
|
Improve OrderedMessages::erase.
|
2023-05-03 01:34:58 +03:00 |
|
levlam
|
28b742e7d3
|
Improve OrderedMessages::insert.
|
2023-05-03 00:25:21 +03:00 |
|
levlam
|
e39757b6ec
|
Make OrderedMessage.message_id_ private.
|
2023-05-02 23:49:59 +03:00 |
|
levlam
|
aa7627108b
|
Improve OrderedMessage field names.
|
2023-05-02 23:27:37 +03:00 |
|
levlam
|
b00dfaf493
|
Make some OrderedMessage fields private.
|
2023-05-02 23:18:28 +03:00 |
|
levlam
|
128aec1d59
|
Make OrderedMessages fields private.
|
2023-05-02 23:14:35 +03:00 |
|
levlam
|
5ecc3a0968
|
Use traverse_messages to find minimum message identifier.
|
2023-05-02 23:11:04 +03:00 |
|
levlam
|
0d1cdc3e60
|
Add OrderedMessages::auto_attach_message.
|
2023-05-02 23:00:11 +03:00 |
|
levlam
|
6e4ebc56d1
|
Move attach_message_to_previous/attach_message_to_next to OrderedMessages.
|
2023-05-02 22:39:50 +03:00 |
|
levlam
|
4fe8137244
|
Use ConstIterator to find the last message.
|
2023-05-02 22:21:37 +03:00 |
|
levlam
|
494a25c19a
|
Fix find_unloadable_messages.
|
2023-05-02 22:06:08 +03:00 |
|
levlam
|
e9ee762f60
|
Implement find_unloadable_messages with traverse_messages.
|
2023-05-02 21:54:11 +03:00 |
|
levlam
|
d6ccdfeac6
|
Add generic OrderedMessages::find_messages.
|
2023-05-02 21:27:16 +03:00 |
|
levlam
|
233984f1e3
|
Move iterators to class OrderedMessages.
|
2023-05-02 19:07:02 +03:00 |
|
levlam
|
0a3ecfd03c
|
Add OrderedMessages::find_message_by_date.
|
2023-05-02 18:47:20 +03:00 |
|
levlam
|
f92d108319
|
Add OrderedMessages::find_messages_by_date.
|
2023-05-02 18:40:22 +03:00 |
|
levlam
|
961c9802af
|
Add OrderedMessages::find_newer_messages.
|
2023-05-02 18:17:06 +03:00 |
|
levlam
|
2e0cba4eea
|
Add OrderedMessages::find_older_messages.
|
2023-05-02 18:11:37 +03:00 |
|
levlam
|
2ff3233115
|
Add class OrderedMessages.
|
2023-05-02 18:04:54 +03:00 |
|
levlam
|
5ef84c5c65
|
Move class OrderedMessage out of MessagesManager.
|
2023-05-02 17:38:55 +03:00 |
|
levlam
|
df626f266e
|
Inline create_ordered_message.
|
2023-05-02 17:30:12 +03:00 |
|
levlam
|
316ba04a47
|
Inline treap_find_message.
|
2023-05-02 17:25:15 +03:00 |
|
levlam
|
453a53c953
|
Remove return value from treap_delete_message.
|
2023-05-02 17:18:05 +03:00 |
|
levlam
|
16873cad78
|
Ignore message order in find_messages.
|
2023-05-02 16:54:52 +03:00 |
|
levlam
|
0af40e53ac
|
Inline delete_all_dialog_messages_from_database.
|
2023-05-02 16:46:37 +03:00 |
|
levlam
|
fe20d43694
|
Remove MessagesManager::set_message_id.
|
2023-05-02 16:18:48 +03:00 |
|
levlam
|
7832c5d78c
|
Store message order separately from messages themselves.
|
2023-05-02 16:07:01 +03:00 |
|
levlam
|
36fede32c6
|
Reuse message iterator in MessagesManager::do_delete_message.
|
2023-05-02 14:59:20 +03:00 |
|
levlam
|
b9210f852c
|
Simplify attach_message_to_next/attach_message_to_previous usage.
|
2023-05-02 14:35:42 +03:00 |
|
levlam
|
0191b7bdb7
|
Initialize message->have_previous/have_next only after message is added to treap.
|
2023-05-02 14:21:03 +03:00 |
|
levlam
|
2bf7509603
|
Attach message to next/previous even it is outdated.
|
2023-05-02 13:35:10 +03:00 |
|
levlam
|
aace2a6465
|
Explicitly pass have_previous and have_next to add_message_to_dialog.
|
2023-05-02 13:22:13 +03:00 |
|
levlam
|
8a72bb7602
|
Don't use have_previous/have_next in update_message.
|
2023-05-02 13:12:29 +03:00 |
|
levlam
|
e2b0c750c1
|
Remove MessagesIteratorBase template parameter.
|
2023-05-02 00:57:37 +03:00 |
|
levlam
|
aa6e85404a
|
Store scheduled messages in a HashTable.
|
2023-05-02 00:52:23 +03:00 |
|
levlam
|
713b1f086e
|
Add MessagesManager::have_dialog_scheduled_messages_in_memory helper.
|
2023-05-01 23:15:54 +03:00 |
|
levlam
|
5397fe43e0
|
Ignore stored Message::have_previous/have_next flags.
|
2023-05-01 22:43:08 +03:00 |
|
levlam
|
77dbb2bf68
|
Don't use MessageSearchFilter::Pinned for bots.
|
2023-05-01 16:55:12 +03:00 |
|
levlam
|
8757f540ac
|
Force postponed updateChatReadInbox before returning the chat.
|
2023-05-01 16:41:04 +03:00 |
|
levlam
|
0e02512f47
|
Ensure that bots doesn't access message index counts.
|
2023-05-01 16:33:32 +03:00 |
|
levlam
|
b40865f81c
|
Do nothing in on_message_deleted_from_database for bots.
|
2023-05-01 16:03:23 +03:00 |
|
levlam
|
a544fc205f
|
Call on_message_deleted_from_database for failed to add from database messages.
|
2023-05-01 15:58:01 +03:00 |
|
levlam
|
730dac8dfe
|
Add MessagesManager::on_message_deleted_from_database.
|
2023-05-01 15:48:35 +03:00 |
|
levlam
|
3c2e08633b
|
Delay updateChatReadInbox updates in opened chats.
|
2023-05-01 15:33:51 +03:00 |
|
levlam
|
03e4013c9d
|
Don't resave chat when sending postponed updateChatReadInbox.
|
2023-05-01 15:17:08 +03:00 |
|
levlam
|
f8853fb938
|
Skip new entities for some bots.
|
2023-05-01 13:44:41 +03:00 |
|
levlam
|
5aff4aa27b
|
Hide global draft for forum chats.
|
2023-04-29 21:58:39 +03:00 |
|
levlam
|
ba4a851017
|
tg_cli: fix variable type.
|
2023-04-28 16:46:28 +03:00 |
|
levlam
|
bde874c1e7
|
Fix init_jni_vars for abstract classes.
|
2023-04-28 16:43:13 +03:00 |
|
levlam
|
b9d431ccac
|
tg_cli: ignore Terminal input sequences.
|
2023-04-27 14:13:32 +03:00 |
|
levlam
|
288895d984
|
Fix warning.
|
2023-04-26 23:10:14 +03:00 |
|
levlam
|
a05453a2c3
|
Remove unused variable.
|
2023-04-26 22:36:06 +03:00 |
|
levlam
|
36a45607f2
|
Use lazy initialization for Java class identifiers to avoid global reference table overflow on some Android 4 devices.
|
2023-04-26 17:15:53 +03:00 |
|
levlam
|
c62de5138c
|
Simplify fetch for empty td_api objects.
|
2023-04-26 16:51:41 +03:00 |
|
levlam
|
06a3ec7d7a
|
Improve javadoc.
|
2023-04-26 16:26:20 +03:00 |
|
levlam
|
5ad95e78bf
|
Improve variable names.
|
2023-04-25 16:51:08 +03:00 |
|
levlam
|
e79741dca0
|
Improve Poll field names.
|
2023-04-25 15:29:24 +03:00 |
|
levlam
|
cfe3e19231
|
Improve PollOption field names.
|
2023-04-25 15:16:29 +03:00 |
|
levlam
|
42c585b7ed
|
Simplify voter list handling.
|
2023-04-25 14:13:34 +03:00 |
|
levlam
|
65d4a7110c
|
Improve documentation.
|
2023-04-24 22:25:29 +03:00 |
|
levlam
|
868d894779
|
Don't autostart blocked bots.
|
2023-04-24 16:03:08 +03:00 |
|
levlam
|
f755ed8e97
|
Fix forward declaration usage.
|
2023-04-24 15:09:37 +03:00 |
|
levlam
|
bed72ccf14
|
Improve variable names.
|
2023-04-22 23:46:43 +03:00 |
|
levlam
|
328b8649d8
|
Fix SetBotInfoQuery.
|
2023-04-21 15:57:32 +03:00 |
|
levlam
|
8517026415
|
Update version to 1.8.14.
|
2023-04-21 13:15:29 +03:00 |
|
levlam
|
78c41b9fef
|
Use local variable for wakeup_at.
|
2023-04-20 17:24:30 +03:00 |
|
levlam
|
0c638d3531
|
Avoid duplicate session wake up time logging.
|
2023-04-20 17:19:38 +03:00 |
|
levlam
|
15e9a2bc1f
|
Remove old comment.
|
2023-04-19 18:19:12 +03:00 |
|
levlam
|
4271b9ab45
|
Minor improvements.
|
2023-04-19 15:30:31 +03:00 |
|
levlam
|
b88da80fc2
|
Fix sticker comparison in remove_recent_sticker.
|
2023-04-19 12:11:22 +03:00 |
|
levlam
|
58301570c6
|
Minor improvements.
|
2023-04-19 10:38:55 +03:00 |
|
levlam
|
27c3064c56
|
Remove DialogFilterManager::hide_dialog_filter_new_chats.
|
2023-04-19 10:18:40 +03:00 |
|
levlam
|
1d5d505789
|
Shuffle built-in datacenter IP addresses.
|
2023-04-19 10:07:57 +03:00 |
|
levlam
|
4b7c1aee03
|
Add and use Random::shuffle.
|
2023-04-19 10:02:34 +03:00 |
|
levlam
|
cd20d62c9c
|
Rename Op::string to Op::str to avoid ambiguity.
|
2023-04-19 00:57:46 +03:00 |
|
levlam
|
342c042ed7
|
Improve initialization order.
|
2023-04-19 00:50:13 +03:00 |
|
levlam
|
7ba56726e0
|
Log received language info.
|
2023-04-18 18:58:51 +03:00 |
|
levlam
|
afefdbcca0
|
Update another TLS ClientHello.
|
2023-04-18 18:24:57 +03:00 |
|
levlam
|
35327de43d
|
Update TlsInit.
|
2023-04-18 13:32:48 +03:00 |
|
levlam
|
0243f9d5e0
|
Improve log messages.
|
2023-04-17 18:12:44 +03:00 |
|
levlam
|
8028a810ec
|
Combine setBotInfo queries.
|
2023-04-17 13:28:26 +03:00 |
|
levlam
|
ca842596ab
|
Fix read_dialog_inbox.
|
2023-04-17 12:28:51 +03:00 |
|
levlam
|
6ec89d0dad
|
Combine GetBotInfo queries.
|
2023-04-17 12:23:21 +03:00 |
|
levlam
|
9263db3146
|
Move bot-related methods to BotInfoManager.
|
2023-04-16 23:25:52 +03:00 |
|
levlam
|
4f916a4d8e
|
Add BotInfoManager.
|
2023-04-16 23:12:28 +03:00 |
|
levlam
|
b171040808
|
Fix secret chat creation.
|
2023-04-15 11:39:22 +03:00 |
|
levlam
|
cfe57dbd60
|
Add td_api::readChatList.
|
2023-04-14 15:17:25 +03:00 |
|
levlam
|
d302dbd241
|
Add MessagesManager::read_dialog_inbox.
|
2023-04-14 14:55:59 +03:00 |
|
levlam
|
598ba5422f
|
Add MessagesManager::get_chat_ids_object.
|
2023-04-14 13:38:25 +03:00 |
|
levlam
|
cfc46b1893
|
Load chat with its info if appropriate.
|
2023-04-13 23:13:38 +03:00 |
|
levlam
|
e1eff4a06a
|
Add MessagesManager::get_chat_id_object for checking chat_id before returning it.
|
2023-04-13 22:41:22 +03:00 |
|
levlam
|
50effcbaf4
|
Immediately delete chat background on removing it.
|
2023-04-13 20:10:44 +03:00 |
|
levlam
|
d597764a50
|
Improve switching between user and channel in voice chat.
|
2023-04-13 17:06:02 +03:00 |
|
levlam
|
a21b49ddfd
|
Avoid rare PTS getDifference after logging in.
|
2023-04-12 12:06:28 +03:00 |
|
levlam
|
e85a83ffb7
|
Don't add muted by admin users to recent speakers.
|
2023-04-12 11:24:06 +03:00 |
|
levlam
|
19502cbe15
|
Remove separate td_api::hideChatFolderNewChats.
|
2023-04-12 01:52:36 +03:00 |
|
levlam
|
9ebadf508c
|
Fix handling of min users.
|
2023-04-12 01:45:29 +03:00 |
|
levlam
|
e0bee7757b
|
Improve get_message_user_ids and get_message_channel_ids.
|
2023-04-12 01:33:48 +03:00 |
|
levlam
|
b4d6b68195
|
Replace dark_theme_brightness with dark_theme_dimming.
|
2023-04-12 00:59:53 +03:00 |
|
levlam
|
5df2f3c141
|
Add inputBackgroundPrevious.
|
2023-04-12 00:02:42 +03:00 |
|
levlam
|
b130306ce7
|
Add td_api::setChatBackground.
|
2023-04-11 17:46:55 +03:00 |
|
levlam
|
0ce6dc6834
|
Allow nullptr in BackgroundType::get_background_type.
|
2023-04-10 20:53:45 +03:00 |
|
levlam
|
45dd4eed9a
|
tg_cli: add class BackgroundType.
|
2023-04-10 20:22:10 +03:00 |
|
levlam
|
456129935e
|
tg_cli: add as_wallpaper_background.
|
2023-04-10 19:45:15 +03:00 |
|
levlam
|
23e7d8fad1
|
tg_cli: add class InputBackground.
|
2023-04-10 19:41:54 +03:00 |
|
levlam
|
00ed2f85b8
|
Support dark_theme_brightness for chat backgrounds.
|
2023-04-10 18:45:26 +03:00 |
|
levlam
|
13d0536db1
|
Add chat.background.
|
2023-04-10 17:23:21 +03:00 |
|
levlam
|
64b2cb4e12
|
Add class BackgroundInfo.
|
2023-04-10 16:32:59 +03:00 |
|
levlam
|
10562f5bac
|
Add pushMessageContentChatSetBackground.
|
2023-04-10 15:14:03 +03:00 |
|
levlam
|
0823c902bd
|
Add td_api::messageChatSetBackground.
|
2023-04-10 14:12:35 +03:00 |
|
levlam
|
4c27e92006
|
Add "chat_folder_invite_link_count_max" and "added_shareable_chat_folder_count_max" options.
|
2023-04-10 12:46:16 +03:00 |
|
levlam
|
90967ba8cf
|
Improve source in get_channel_full_force.
|
2023-04-09 23:47:47 +03:00 |
|
levlam
|
bef7184566
|
Improve have_input_peer for bots.
|
2023-04-09 23:00:44 +03:00 |
|
levlam
|
a52b6f025f
|
Add td_api::getChatsForChatFolderInviteLink.
|
2023-04-09 21:54:40 +03:00 |
|
levlam
|
33ac156bc0
|
Increase appConfig version.
|
2023-04-09 01:50:02 +03:00 |
|
levlam
|
d6b53d61fc
|
Use request promise in td_api::getChatFolder.
|
2023-04-09 01:35:42 +03:00 |
|
levlam
|
5872f0951a
|
Use bigger delay for secret chat accepting on desktops.
|
2023-04-08 23:49:47 +03:00 |
|
levlam
|
d986f0237c
|
Return error if no chat types are allowed.
|
2023-04-07 16:11:19 +03:00 |
|
levlam
|
b4676dc57a
|
Various fixes.
|
2023-04-07 16:02:31 +03:00 |
|
levlam
|
2a70fec0b0
|
Add inlineKeyboardButtonTypeSwitchInline.target_chat.
|
2023-04-07 14:00:10 +03:00 |
|
levlam
|
6fde8184af
|
Improve SetBotInfoQuery.
|
2023-04-07 01:15:16 +03:00 |
|
levlam
|
9b089bc194
|
Improve on_set_profile_photo.
|
2023-04-07 00:53:13 +03:00 |
|
levlam
|
aebf904513
|
Various chat folder fixes.
|
2023-04-06 23:15:22 +03:00 |
|
levlam
|
a6b0835b84
|
Add "chat_folder_new_chats_update_period" option.
|
2023-04-06 14:58:46 +03:00 |
|
levlam
|
6cef99b3eb
|
Add two new premiumLimitTypes.
|
2023-04-06 14:24:14 +03:00 |
|
levlam
|
82382ce416
|
Improve documentation.
|
2023-04-05 21:30:14 +03:00 |
|
levlam
|
cc062c6b11
|
Update folder invite links format.
|
2023-04-05 19:56:05 +03:00 |
|
levlam
|
f431c8ba5a
|
Add td_api::hideChatFolderNewChats.
|
2023-04-05 19:43:58 +03:00 |
|
levlam
|
758926bbed
|
Add td_api::addChatFolderNewChats.
|
2023-04-04 16:35:31 +03:00 |
|
levlam
|
e6cc743c33
|
Add td_api::getChatFolderNewChats.
|
2023-04-04 16:21:31 +03:00 |
|
levlam
|
19e15f283c
|
Improve checkChatUsernameResultUsernamePurchasable detection.
|
2023-04-03 21:33:04 +03:00 |
|
levlam
|
2e5bab9c48
|
Add messageGiftedPremium.gifter_user_id.
|
2023-04-03 21:20:41 +03:00 |
|
levlam
|
e4717bae0e
|
Send updateUserFullInfo when bot edit links are changed.
|
2023-04-03 21:04:22 +03:00 |
|
levlam
|
cc0d148ce2
|
Add and use static is_user_* functions.
|
2023-04-03 20:43:25 +03:00 |
|
levlam
|
c44a2d07b5
|
Add edit links to userFull.
|
2023-04-03 20:26:31 +03:00 |
|
levlam
|
e2d3f2694f
|
Improve future salts logging.
|
2023-04-03 19:55:12 +03:00 |
|
levlam
|
d62f9281a7
|
Improve name of internalLinkTypeChatFolderSettings.
|
2023-04-03 18:17:25 +03:00 |
|
levlam
|
c62bbfb583
|
Remove expected error logging.
|
2023-04-03 18:00:44 +03:00 |
|
levlam
|
241021ae83
|
Rename chat filters to chat folders.
|
2023-04-03 17:28:51 +03:00 |
|
levlam
|
b34d1d2c25
|
Update has_my_invite_links when receive the list of all links.
|
2023-04-03 15:16:11 +03:00 |
|
levlam
|
613ab34f09
|
Add chatFilterInfo.has_my_invite_links.
|
2023-04-03 15:06:37 +03:00 |
|
levlam
|
45a6d9864c
|
Add chatInviteLinkMember.via_chat_filter_invite_link.
|
2023-04-03 13:36:47 +03:00 |
|
levlam
|
b374eeb6e0
|
Add chatEventMemberJoinedByInviteLink.via_chat_filter_invite_link.
|
2023-04-03 13:11:14 +03:00 |
|
levlam
|
e50e3e0b3a
|
Add updateChatMember.via_chat_filter_invite_link.
|
2023-04-02 23:45:27 +03:00 |
|
levlam
|
6198a6a842
|
Add td_api::getChatFilterChatsToLeave.
|
2023-04-02 12:40:57 +03:00 |
|
levlam
|
4bf49b246f
|
Add deleteChatFilter.leave_chat_ids.
|
2023-04-02 12:05:04 +03:00 |
|
levlam
|
7085bc4d8f
|
Pass promise to on_update_dialog_filters.
|
2023-04-02 11:53:25 +03:00 |
|
levlam
|
890084df51
|
Add ContactsManager::leave_dialog.
|
2023-04-02 11:46:38 +03:00 |
|
levlam
|
0ca51e8b79
|
Use DialogId::get_chat_ids.
|
2023-04-02 11:24:48 +03:00 |
|
levlam
|
ea27f659e6
|
Use chatlists.leaveChatlist to delete shareable folders.
|
2023-04-01 23:24:57 +03:00 |
|
levlam
|
cb2ce5d1de
|
Add td_api::addChatFilterByInviteLink.
|
2023-03-31 16:48:32 +03:00 |
|
levlam
|
d47bd927fe
|
Add td_api::checkChatFilterInviteLink.
|
2023-03-31 15:50:49 +03:00 |
|
levlam
|
8b97f76255
|
Add DialogFilter::get_icon_name_by_emoji.
|
2023-03-31 15:48:57 +03:00 |
|
levlam
|
715f681651
|
Add class chatFilterIcon.
|
2023-03-31 13:34:47 +03:00 |
|
levlam
|
725c7ba5d1
|
Add DialogFilterInviteLink::is_valid_invite_link.
|
2023-03-31 12:57:58 +03:00 |
|
levlam
|
6e139200eb
|
Use get_dialog_invite_link/get_dialog_filter_invite_link to generate the links.
|
2023-03-30 21:25:25 +03:00 |
|
levlam
|
5e14afc9dd
|
Remove superflous checks before calls to get_url_query_hash/slug.
|
2023-03-30 21:16:03 +03:00 |
|
levlam
|
ced48b910f
|
Remove superflous emptiness checks in get_url_query_hash/slug.
|
2023-03-30 21:12:54 +03:00 |
|
levlam
|
02a2e23cac
|
Add td_api::internalLinkTypeChatFilterInvite.
|
2023-03-30 21:11:15 +03:00 |
|
levlam
|
49b9ea2ec1
|
Add td_api::deleteChatFilterInviteLink.
|
2023-03-30 19:52:55 +03:00 |
|
levlam
|
a9f862c3c3
|
Add td_api::editChatFilterInviteLink.
|
2023-03-30 19:37:01 +03:00 |
|
levlam
|
3fa7e6f2f7
|
tg_cli: allow to edit shareable filters.
|
2023-03-30 18:39:51 +03:00 |
|
levlam
|
761bc9c992
|
Add chatFilter.is_shareable.
|
2023-03-30 18:23:26 +03:00 |
|
levlam
|
d1c9cacf85
|
Add td_api::getChatFilterInviteLinks.
|
2023-03-30 17:15:04 +03:00 |
|
levlam
|
0ec458ebb1
|
Allow basic groups in createChatFilterInviteLink.
|
2023-03-30 16:58:24 +03:00 |
|
levlam
|
ea56e6865a
|
Add td_api::reorderActiveBotUsernames.
|
2023-03-30 16:41:03 +03:00 |
|
levlam
|
93c3b5cc07
|
Add toggleBotUsernameIsActive.
|
2023-03-30 15:34:27 +03:00 |
|
levlam
|
3f9b43227c
|
tg_cli: add td_api::setBotProfilePhoto.
|
2023-03-29 22:45:13 +03:00 |
|
levlam
|
9d88c64718
|
Add td_api::setBotProfilePhoto.
|
2023-03-29 21:49:54 +03:00 |
|
levlam
|
62818418ea
|
Add setBotName/getBotName.
|
2023-03-28 18:42:54 +03:00 |
|
levlam
|
dceeb363d5
|
Invalidate UserFull for the edited bot.
|
2023-03-28 18:26:12 +03:00 |
|
levlam
|
92f1d26f08
|
Allow to edit description of owned bots.
|
2023-03-28 17:49:48 +03:00 |
|
levlam
|
aec7d5a26f
|
Add userTypeBot.can_be_edited.
|
2023-03-28 16:26:42 +03:00 |
|
levlam
|
a487c08eca
|
Move logging to DialogFilter::merge_dialog_filter_changes.
|
2023-03-27 21:40:07 +03:00 |
|
levlam
|
f844179528
|
Add td_api::createChatFilterInviteLink.
|
2023-03-27 21:36:44 +03:00 |
|
levlam
|
03819d0322
|
Move all chatFilter checks to DialogFilter::create_dialog_filter.
|
2023-03-27 19:08:25 +03:00 |
|
levlam
|
19ac20adc9
|
Move checks from DialogFilterManager::create_dialog_filter to DialogFilter.
|
2023-03-27 18:46:01 +03:00 |
|
levlam
|
f12fedd4d6
|
Add class DialogFilterDialogInfo.
|
2023-03-27 18:34:25 +03:00 |
|
levlam
|
f4daa4b61a
|
Move dialog filter list to DialogFilterManager.
|
2023-03-27 17:44:13 +03:00 |
|
levlam
|
9259728d16
|
Use do_edit_dialog_filter.
|
2023-03-27 14:16:02 +03:00 |
|
levlam
|
2ef970307b
|
Move get_chat_filter_object and load_dialog_filter to DialogFilterManager.
|
2023-03-27 14:09:55 +03:00 |
|
levlam
|
0ff733edad
|
Move recommended filters to DialogFilterManager.
|
2023-03-27 11:50:40 +03:00 |
|
levlam
|
800258fa57
|
Add DialogFilterManager.
|
2023-03-27 11:27:17 +03:00 |
|
levlam
|
9a85e4df1c
|
Add td_api::chatFilterInviteLink.
|
2023-03-24 17:06:09 +03:00 |
|
levlam
|
debf8f5f68
|
Support shareable filters.
|
2023-03-24 15:32:47 +03:00 |
|
levlam
|
910c5ee09c
|
Add cryptocurrency price to messageGiftedPremium.
|
2023-03-21 14:54:36 +03:00 |
|
levlam
|
a45d2de881
|
Update layer to 158.
|
2023-03-21 14:11:43 +03:00 |
|
levlam
|
bb28f308ef
|
Always return simple InputPeer.
|
2023-04-05 20:59:48 +03:00 |
|
levlam
|
55223c394f
|
Fix misprint.
|
2023-04-03 12:15:44 +03:00 |
|
levlam
|
fb4d0daa2f
|
Improve names of some variables.
|
2023-04-03 01:24:43 +03:00 |
|
levlam
|
375a024585
|
Remove redundant lambda creation.
|
2023-04-02 23:52:36 +03:00 |
|
levlam
|
6bc7c38e5f
|
Add DialogId::get_chat_ids.
|
2023-04-01 23:37:36 +03:00 |
|
levlam
|
4ee61aae2b
|
Improve error messages and documentation.
|
2023-03-31 15:01:38 +03:00 |
|
levlam
|
3be730b44a
|
tg_cli: add ChatFilterId class.
|
2023-03-30 17:23:26 +03:00 |
|
levlam
|
2cac802e07
|
tg_cli: add InputChatPhoto.
|
2023-03-29 22:42:19 +03:00 |
|
levlam
|
c95598e5e1
|
Don't register users and channels for bots.
|
2023-03-27 12:05:32 +03:00 |
|
levlam
|
007e3d8d11
|
Fix get_input_peer for bots.
|
2023-03-27 12:02:39 +03:00 |
|
levlam
|
46a76fa9a8
|
Add CustomEmojiId::get_custom_emoji_ids.
|
2023-03-27 00:54:44 +03:00 |
|
levlam
|
881e74accb
|
Add DialogId::get_dialog_ids.
|
2023-03-27 00:39:38 +03:00 |
|
AYMEN Mohammed
|
17e120d7ec
|
Fix typos. (#2365)
* Fix typos.
* Fix another typo. (by t.me/Mammad900)
|
2023-03-26 22:38:14 +03:00 |
|
levlam
|
eb664b4e9f
|
Update version to 1.8.13.
|
2023-03-25 09:24:10 +03:00 |
|
AYMENJD
|
7d70dcc9a4
|
Improve authenticationCodeTypeSms documentation.
|
2023-03-25 09:02:55 +03:00 |
|
John Preston
|
f742a9710d
|
Fix a type on viewMessages method documentation.
|
2023-03-25 09:01:45 +03:00 |
|
levlam
|
1ce9f9d27c
|
Minor improvements.
|
2023-03-24 14:14:37 +03:00 |
|
levlam
|
1eb83f09d3
|
Improve documentation.
|
2023-03-23 18:52:34 +03:00 |
|
levlam
|
a511f1c56f
|
Improve field names in DialogFilter.
|
2023-03-23 17:26:24 +03:00 |
|
levlam
|
b718933607
|
Don't drop is_outgoing message flag.
|
2023-03-23 16:54:18 +03:00 |
|
levlam
|
23c8ef2f63
|
Return error 404 from addApplicationChangelog if nothing was added.
|
2023-03-23 16:53:11 +03:00 |
|
levlam
|
cb27d4bd07
|
Make DialogFilter fields private.
|
2023-03-22 23:19:32 +03:00 |
|
levlam
|
f10fb4b6b5
|
Add and use DialogFilter::get_pinned_dialog_ids().
|
2023-03-22 23:09:57 +03:00 |
|
levlam
|
7871a4192a
|
Add DialogFilter::is_dialog_pinned.
|
2023-03-22 23:05:13 +03:00 |
|
levlam
|
d0593a02c1
|
Add DialogFilter::can_have_archived_dialogs.
|
2023-03-22 22:35:37 +03:00 |
|
levlam
|
dc18ce7b0e
|
Add and use DialogFilter::is_dialog_included.
|
2023-03-22 22:30:00 +03:00 |
|
levlam
|
314dca6757
|
Fix misprint.
|
2023-03-22 21:50:07 +03:00 |
|
levlam
|
de8b68a492
|
Send updateLanguagePackStrings when language pack is loaded for the first time.
|
2023-03-22 21:40:05 +03:00 |
|
levlam
|
a9ba8f5a6c
|
Reload promo data sequentially.
|
2023-03-22 19:52:06 +03:00 |
|
levlam
|
511689877c
|
Improve some log messages.
|
2023-03-22 19:29:33 +03:00 |
|