Commit Graph

8693 Commits

Author SHA1 Message Date
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
levlam
61eeab055a Improve FileStats logging. 2023-09-11 16:56:21 +03:00
levlam
c3a985fade Always fix video story file type in scan_fs. 2023-09-11 16:38:41 +03:00
levlam
622762f6ef Move guess_file_type_by_path to FileType.cpp. 2023-09-11 16:34:00 +03:00
levlam
468f92d0e5 Always scan file database to get file statistics to fix file type of video stories. 2023-09-11 16:07:53 +03:00
levlam
6022b2ce77 Improve parameter names. 2023-09-11 15:55:46 +03:00
levlam
745adb7c52 Add some logging. 2023-09-11 15:09:24 +03:00
levlam
edb3d08757 Improve chatInviteLinkInfo.type documentation. 2023-09-11 00:29:09 +03:00
levlam
40973f0977 Start chat unload timer when the first message is added to the chat, if it is definitely not the last database message. 2023-09-11 00:14:58 +03:00
levlam
efba70c2ef Unify names of PacketInfo variables. 2023-09-10 00:04:55 +03:00
levlam
d87cc2b143 Simplify mtproto::Transport::write usage. 2023-09-09 22:49:45 +03:00
levlam
00258ccb4c Make call to should_restart_part safe. 2023-09-07 17:31:08 +03:00
levlam
edc528457f Update version to 1.8.17. 2023-09-06 15:37:41 +03:00
levlam
de458452c9 Minor improvements. 2023-09-06 15:36:55 +03:00
levlam
0e1cd98869 Fix warning. 2023-09-04 17:11:00 +03:00
levlam
35ff6976d8 Add td_api::getAllStickerEmojis. 2023-09-04 16:17:36 +03:00
levlam
f4a8338232 Add more information in td_api::chatInviteLinkInfo. 2023-09-01 18:04:06 +03:00
levlam
89e2a29926 Add td_api::sendWebAppCustomRequest. 2023-08-25 18:26:05 +03:00
levlam
49c1764746 Add td_api::allowBotToSendMessages. 2023-08-25 18:06:56 +03:00