Commit Graph

7568 Commits

Author SHA1 Message Date
levlam
46b8aeab97 Make DialogActionBar fields private. 2021-11-23 12:05:32 +03:00
levlam
be30321801 Add DialogActionBar storer and parser. 2021-11-23 11:41:35 +03:00
levlam
c7e641aca8 Replace empty action bars with nullptr. 2021-11-23 09:35:38 +03:00
levlam
8fd9d89ec3 Move DialogActionBar modifiers to DialogActionBar.cpp. 2021-11-23 09:27:30 +03:00
levlam
6c1429f74c Move fix_dialog_action_bar to DialogActionBar.cpp. 2021-11-23 07:45:32 +03:00
Andrea Cavalli
8e13003896 Merge remote-tracking branch 'td/master' 2021-11-22 23:28:02 +01:00
levlam
6b1833a259 Move DialogActionBar to a separate header. 2021-11-23 00:24:18 +03:00
levlam
f4d62f9ca4 Add struct DialogActionBar. 2021-11-22 22:39:59 +03:00
levlam
d160a77222 Add separate flag for need_repair_action_bar. 2021-11-22 20:13:55 +03:00
levlam
d7d9e50e50 Remove legacy know_can_report_spam flag. 2021-11-22 17:59:55 +03:00
levlam
11b13021d2 Improve condition for changed forward_info warning. 2021-11-22 17:31:55 +03:00
levlam
0c554fbe04 Unify Session::ConnectionInfo field name style. 2021-11-22 14:36:59 +03:00
levlam
21a7d147f5 Ignore 401 from non-main sessions. 2021-11-22 11:52:09 +03:00
levlam
f818d0d5e7 Simplify close checks in RequestActor. 2021-11-22 11:32:36 +03:00
levlam
f644dedcfa Replace private forward name before forwarding. 2021-11-22 11:17:28 +03:00
levlam
cee41e0806 Allow to change tests verbosity level. 2021-11-21 21:51:46 +03:00
levlam
a28b5f2fbb Remove explicit verbosity level changes in tests. 2021-11-21 21:41:11 +03:00
levlam
5e34f07641 Output original name in telegram_api::to_string. 2021-11-21 21:29:43 +03:00
levlam
8f2a09f2cb Add userFullInfo.has_private_forwards. 2021-11-20 22:48:44 +03:00
levlam
743a30d470 Show "Copy" button only if copying of all build instructions is possible. 2021-11-20 18:43:52 +03:00
levlam
6832b86947 Use black $ for list style and return back outline on focus for mouseless setups. 2021-11-20 18:28:17 +03:00
levlam
ece3a9bbcd Remove trailing spaces and use consictent indent size in build.html. 2021-11-20 18:16:28 +03:00
Mammad
3272888be1
Improve appearance of build instructions generator (#1689) 2021-11-20 18:14:08 +03:00
levlam
a58b4dc302 Fix misprint in documentation. 2021-11-19 17:56:51 +03:00
levlam
e4df8d9458 Use get_message_sender. 2021-11-19 17:31:10 +03:00
levlam
993a9e24c4 Remove user_id from reportSupergroupSpam. 2021-11-19 17:12:38 +03:00
levlam
04be7955a7 Add MessagesManager::get_message_sender. 2021-11-19 17:12:22 +03:00
levlam
bb0f7e012d Fix can_get_message_viewers for anonymous polls. 2021-11-19 16:15:37 +03:00
levlam
655896ad4a Update default value of chat_read_mark_size_threshold. 2021-11-19 16:03:23 +03:00
levlam
6941a4500a Support deletion from database messages by sender_dialog_id. 2021-11-19 16:00:21 +03:00
levlam
5232774d89 Replace deleteChatMessagesFromUser with deleteChatMessagesBySender. 2021-11-19 15:48:05 +03:00
levlam
a366d9b40d Support hash in ReloadSpecialStickerSetQuery. 2021-11-19 14:07:05 +03:00
levlam
9b5bc5f4f3 Use hash in GetStickerSetQuery. 2021-11-19 13:56:12 +03:00
Sebastian
505fed00bd Update python example: Use sys.exit for quitting
automatically sends the message to `stderr` and sets the exit-code to 1
`quit` is only for exiting the interpreter, use the recommended `sys.exit`
2021-11-18 17:04:28 +03:00
levlam
bd733c1c6e Fix CheckExitGuard test. 2021-11-18 17:01:05 +03:00
levlam
67aa9cad66 Allocate exactly specified size in ArrayAllocator. 2021-11-18 16:42:01 +03:00
levlam
42ca2dcef5 Add serialize test. 2021-11-18 16:32:12 +03:00
levlam
2b9b9f0c31 Add ThreadIdGuard to tests and tg_cli. 2021-11-18 16:25:37 +03:00
levlam
6f3dc2afb1 Use new/delete instead of ArrayAllocator on external threads. 2021-11-18 16:22:54 +03:00
levlam
32713560b8 Move StackAllocator implementation to cpp. 2021-11-18 15:42:07 +03:00
levlam
bf9c78e982 Fix is_emoji. 2021-11-18 14:37:31 +03:00
levlam
fb39e5d746 SImplify StackAllocator::Ptr implementation. 2021-11-17 15:15:40 +03:00
levlam
4e802d67ca Move out user_version logging from WARNING. 2021-11-17 09:09:01 +03:00
levlam
e7dfed10a5 Increase performance warning time to a reasonable value. 2021-11-17 09:07:23 +03:00
23rd
04736f363b Fixed processing of speaking action in channels to form recent speakers. 2021-11-17 09:04:22 +03:00
levlam
6c9b5ebf55 Add td_api::setInactiveSessionsTtl. 2021-11-16 16:04:19 +03:00
levlam
b940d2e208 Add inactive_sessions_ttl_days. 2021-11-16 15:39:55 +03:00
levlam
526e7dc631 Add toggleSessionCanAcceptSecretChats. 2021-11-16 15:22:00 +03:00
levlam
36d4de747f Move website authorization functions to Account.cpp. 2021-11-16 13:13:06 +03:00
levlam
c64cc8ad26 Move account-related methods to Account.cpp. 2021-11-16 13:02:07 +03:00