levlam
|
ec44b3d16c
|
Improve "invoke_after_message_id" variable names.
|
2023-09-21 15:40:56 +03:00 |
|
levlam
|
c8e46cae53
|
Improve method names.
|
2023-09-21 14:53:33 +03:00 |
|
levlam
|
11c78406c3
|
Explicitly check returned errors.
|
2023-09-21 14:47:17 +03:00 |
|
levlam
|
d0d8d74c3e
|
Remove checks out of DownloadManager::remove_file_impl.
|
2023-09-21 14:37:09 +03:00 |
|
levlam
|
782fc0964f
|
Improve function name.
|
2023-09-21 14:18:12 +03:00 |
|
levlam
|
a2c8aa7165
|
Update channel participant count when receiving boost status.
|
2023-09-21 14:05:40 +03:00 |
|
levlam
|
8fb3fca841
|
Improve error logging for banned accounts.
|
2023-09-20 21:28:23 +03:00 |
|
levlam
|
67cf6d7fe5
|
Don't log not found chats in load_dialogs.
|
2023-09-20 20:44:21 +03:00 |
|
levlam
|
606ee063d5
|
Don't try to load recent chats from database right after the database was deleted.
|
2023-09-20 20:40:34 +03:00 |
|
levlam
|
246f2ca42f
|
Recheck received from the server channels.
|
2023-09-20 20:34:21 +03:00 |
|
levlam
|
036f37fe43
|
Simplify ContactsManager::update_created_public_channels.
|
2023-09-20 19:53:42 +03:00 |
|
levlam
|
154b2cb315
|
Recheck loaded from database channels.
|
2023-09-20 19:51:17 +03:00 |
|
levlam
|
cc1b01620b
|
Drop cached channel lists when dialog database is recreated.
|
2023-09-20 19:09:51 +03:00 |
|
levlam
|
cd7d960ba4
|
Cache chats to send stories.
|
2023-09-20 19:07:51 +03:00 |
|
levlam
|
82c702c16d
|
Minor improvements.
|
2023-09-19 21:59:14 +03:00 |
|
levlam
|
597563b0d4
|
Make Statistics conversion functions private.
|
2023-09-19 21:45:22 +03:00 |
|
levlam
|
be63c46992
|
Move statistics related functions to StatisticsManager.
|
2023-09-19 21:40:29 +03:00 |
|
levlam
|
d1dae35b85
|
Add empty StatisticsManager.
|
2023-09-19 21:24:19 +03:00 |
|
levlam
|
0e56b7e527
|
Clamp percentage value.
|
2023-09-19 21:15:10 +03:00 |
|
levlam
|
6dbec3fda7
|
Use td_api::error in td_api::updateStorySendFailed.
|
2023-09-19 19:13:45 +03:00 |
|
levlam
|
6b17c0fdec
|
Use error object in td_api::messageSendingStateFailed/updateMessageSendFailed.
|
2023-09-19 19:04:56 +03:00 |
|
levlam
|
a19d49a107
|
Ignore interaction info/chosen reaction updates while having a pending story reaction.
|
2023-09-19 18:40:15 +03:00 |
|
levlam
|
84e1d5ff1f
|
Add StoryManager::on_story_chosen_reaction_changed.
|
2023-09-19 14:41:31 +03:00 |
|
levlam
|
48607e18b5
|
Locally update reaction counts when changing story reaction.
|
2023-09-19 13:42:13 +03:00 |
|
levlam
|
5a19de8faa
|
Add storyAreaTypeSuggestedReaction.total_count.
|
2023-09-19 13:09:59 +03:00 |
|
levlam
|
fde0c8a0b1
|
Add storyInteractionInfo.forward_count.
|
2023-09-18 22:00:38 +03:00 |
|
levlam
|
118358508a
|
Update default premium feature order.
|
2023-09-18 20:22:09 +03:00 |
|
levlam
|
6cb1f8fb96
|
Add td_api::premiumFeatureChatBoost.
|
2023-09-18 19:57:48 +03:00 |
|
levlam
|
0f7193172b
|
Add premiumLimitTypeStorySuggestedReactionAreaCount.
|
2023-09-18 19:47:34 +03:00 |
|
levlam
|
583168767d
|
Add td_api::getChatBoosts.
|
2023-09-16 12:22:11 +03:00 |
|
levlam
|
469be958f2
|
Add td_api::getChatBoostLinkInfo.
|
2023-09-15 19:07:18 +03:00 |
|
levlam
|
069f8607df
|
Add td_api::getChatBoostLink.
|
2023-09-15 16:37:17 +03:00 |
|
levlam
|
714397da80
|
Add td_api::internalLinkTypeChatBoost.
|
2023-09-15 16:24:26 +03:00 |
|
levlam
|
8230efb97f
|
Add td_api::boostChat.
|
2023-09-15 15:11:37 +03:00 |
|
levlam
|
97db1de2c1
|
Add td_api::canBoostChat.
|
2023-09-15 15:00:02 +03:00 |
|
levlam
|
e2462e2487
|
Add td_api::canSendStoryResultBoostNeeded.
|
2023-09-14 20:04:59 +03:00 |
|
levlam
|
c120b5ef19
|
Add td_api::getChatsToSendStories.
|
2023-09-14 18:59:30 +03:00 |
|
levlam
|
7605812d2c
|
Add td_api::getChatBoostStatus.
|
2023-09-12 18:37:32 +03:00 |
|
levlam
|
0ab5ab00ea
|
tg_cli: add logf.
|
2023-09-12 17:34:12 +03:00 |
|
levlam
|
1558edd3dd
|
Support Terms of Service for non-recurring payments.
|
2023-09-12 17:30:17 +03:00 |
|
levlam
|
d1a2ca9261
|
Disallow replies to channel stories.
|
2023-09-05 19:31:14 +03:00 |
|
levlam
|
b42781a631
|
Update order of channel stories when they are joined or left.
|
2023-09-05 19:14:40 +03:00 |
|
levlam
|
08fc889997
|
Show stories from channels in story lists.
|
2023-09-05 18:48:47 +03:00 |
|
levlam
|
e59a832e10
|
Use channel.stories_hidden_min flag.
|
2023-09-05 18:45:28 +03:00 |
|
levlam
|
b4c25af1b6
|
Update stories from channelFull.
|
2023-09-05 18:36:30 +03:00 |
|
levlam
|
de204f7bf2
|
Add supergroupFullInfo.has_pinned_stories.
|
2023-09-05 18:34:06 +03:00 |
|
levlam
|
f2a821a07e
|
Support archiving channel stories.
|
2023-09-05 18:17:45 +03:00 |
|
levlam
|
35a319db20
|
Poll channel max active story identifiers.
|
2023-09-05 17:41:33 +03:00 |
|
levlam
|
8991ddf263
|
Add supergroup.has_active_stories/has_unread_active_stories.
|
2023-09-05 16:50:41 +03:00 |
|
levlam
|
86d286fc7c
|
Add story action flags.
|
2023-09-05 15:50:38 +03:00 |
|
levlam
|
6e3e4c190d
|
Add Story.is_outgoing_ field.
|
2023-09-05 13:50:16 +03:00 |
|
levlam
|
b16de41ef1
|
Support sending and editing stories in channels.
|
2023-09-04 23:49:17 +03:00 |
|
levlam
|
58097b847b
|
Remove StoryManager::is_story_owned.
|
2023-09-04 22:21:20 +03:00 |
|
levlam
|
66fd2f35f2
|
Add StoryManager::can_get_story_view_count.
|
2023-09-04 22:19:42 +03:00 |
|
levlam
|
0c9d8e9f6f
|
Add StoryManager::can_access_expired_story.
|
2023-09-04 21:52:05 +03:00 |
|
levlam
|
0115c9ac9d
|
Add functions to check story access rights.
|
2023-09-04 21:45:16 +03:00 |
|
levlam
|
868b6b930f
|
Add StoryManager::is_my_story.
|
2023-09-04 21:34:17 +03:00 |
|
levlam
|
3c977a0f99
|
Add story-related administrator rights.
|
2023-09-04 20:24:44 +03:00 |
|
levlam
|
08639b520a
|
Allow to set suggested custom reactions from stories.
|
2023-08-25 19:11:24 +03:00 |
|
levlam
|
fa1b6f33e1
|
Support storyAreaTypeSuggestedReaction.
|
2023-08-25 16:37:27 +03:00 |
|
levlam
|
153ff5503b
|
Update layer to 164.
|
2023-08-15 22:45:37 +03:00 |
|
levlam
|
a7e9980246
|
Allow negative rotation angle.
|
2023-09-20 17:22:01 +03:00 |
|
levlam
|
b72fa29981
|
Improve ReactionManager::is_active_reaction.
|
2023-09-19 15:28:39 +03:00 |
|
levlam
|
daf480138d
|
Ignore the unsupported chat among returned chats.
|
2023-09-17 01:34:13 +03:00 |
|
levlam
|
03ccaa40aa
|
Fix show_in_attach_menu_ flag.
|
2023-09-16 01:48:45 +03:00 |
|
levlam
|
fb7cb1b1d0
|
Add MessagesManager::resolve_dialog.
|
2023-09-15 18:20:21 +03:00 |
|
levlam
|
25b8caff59
|
Add MessagesManager::send_resolve_dialog_username_query.
|
2023-09-15 17:44:32 +03:00 |
|
levlam
|
e79f540937
|
Minor improvements.
|
2023-09-13 22:17:46 +03:00 |
|
levlam
|
100ca72b91
|
Update version to 1.8.18.
|
2023-09-13 18:14:23 +03:00 |
|
levlam
|
a0d0262394
|
Fix PhotoSizeSource::parse.
|
2023-09-13 17:41:50 +03:00 |
|
levlam
|
f899fe9145
|
Don't delete notifications when initializing last_new_message_id. There should be no old notifications anyway, but there could be a pending notification about the being added message.
|
2023-09-13 16:57:44 +03:00 |
|
levlam
|
e65e5b0b49
|
Extract delete_all_dialog_notifications from delete_all_dialog_messages_from_database.
|
2023-09-13 16:29:37 +03:00 |
|
levlam
|
721f0ae9e4
|
Update name of storyPrivacySettingsSelectedUsers.
|
2023-09-13 15:19:16 +03:00 |
|
levlam
|
9d168b847f
|
Recheck unconfirmed sessions once an hour and after restart.
|
2023-09-13 15:05:28 +03:00 |
|
levlam
|
f4fabcf996
|
Improve td_api::session.
|
2023-09-13 13:12:56 +03:00 |
|
levlam
|
55a20cad32
|
Unconfirmed session fixes.
|
2023-09-12 16:09:56 +03:00 |
|
levlam
|
64d66fb3dc
|
Delete expired unconfirmed sessions.
|
2023-09-12 15:44:57 +03:00 |
|
levlam
|
7f2d1cdd9d
|
Delete expired unconfirmed sessions after loading them after restart.
|
2023-09-12 14:48:42 +03:00 |
|
levlam
|
6a4c78e849
|
Add internal option "authorization_autoconfirm_period".
|
2023-09-12 14:32:28 +03:00 |
|
levlam
|
2e4594a35a
|
Add td_api::confirmSession.
|
2023-09-12 14:28:02 +03:00 |
|
levlam
|
4bb1fd86d3
|
Keep unconfirmed authorizations between restarts.
|
2023-09-12 00:39:25 +03:00 |
|
levlam
|
a87340edbd
|
Tend to return more results from searchPublicChats.
|
2023-09-11 23:30:54 +03:00 |
|
levlam
|
064561e02a
|
Automatically confirm sessions on specific actions.
|
2023-09-11 23:29:17 +03:00 |
|
levlam
|
a874e617dc
|
Add updateUnconfirmedSession.
|
2023-09-11 22:03:01 +03:00 |
|
levlam
|
be442ba977
|
Move get_user_link to AccountManager.
|
2023-09-11 18:59:19 +03:00 |
|
levlam
|
5f1b1f41fc
|
Add class InviteLinkChatType.
|
2023-09-11 18:33:44 +03:00 |
|
levlam
|
d2a3dfccc3
|
Support side menu icons for bots.
|
2023-09-08 17:21:16 +03:00 |
|
levlam
|
793e2ed0be
|
Move account-related methods to AccountManager.
|
2023-09-08 16:34:11 +03:00 |
|
levlam
|
162b5cc636
|
Add AccountManager.
|
2023-09-08 16:19:30 +03:00 |
|
levlam
|
66793cf2f5
|
Add session.is_unconfirmed.
|
2023-09-08 15:49:25 +03:00 |
|
levlam
|
bf500652dc
|
Support opening of Web Apps from the side menu and internalLinkTypeSideMenuBot links.
|
2023-09-07 21:40:47 +03:00 |
|
levlam
|
a7d9da0229
|
Add internalLinkTypeSideMenuBot.
|
2023-09-07 19:23:07 +03:00 |
|
levlam
|
289c25fd93
|
Support non-added bots in the list of attachment menu bots.
|
2023-09-07 18:04:21 +03:00 |
|
levlam
|
3983615646
|
Support showing attachment menu bots in side menu.
|
2023-09-07 16:45:42 +03:00 |
|
levlam
|
604f39c295
|
Add foundWebApp.supports_settings.
|
2023-09-07 15:52:31 +03:00 |
|
levlam
|
280209a220
|
Self-destruct media in private chats when they expire on the other side.
|
2023-09-07 00:31:05 +03:00 |
|
levlam
|
5ebbda1c26
|
Add td_api::MessageSelfDestructType.
|
2023-09-06 21:27:45 +03:00 |
|
levlam
|
aec04a2d01
|
Support immediately disappearing photos and videos.
|
2023-09-06 20:45:15 +03:00 |
|
levlam
|
a5073593e5
|
Update layer to 163.
|
2023-09-06 19:02:17 +03:00 |
|
levlam
|
0ada45c361
|
Fix video story network statistics.
|
2023-09-11 17:02:58 +03:00 |
|