Commit Graph

6620 Commits

Author SHA1 Message Date
levlam
96a9fb5f66 Fix delete_sent_message_from_server. 2021-09-16 15:18:31 +03:00
levlam
bee2893533 Add missing include. 2021-09-15 17:16:23 +03:00
levlam
8f97a6dc00 Recommend installing gperf through vcpkg in examples. 2021-09-15 10:00:34 +03:00
levlam
457ab66fe7 Fix gperf install instructions through vcpkg. 2021-09-15 09:26:40 +03:00
levlam
ded0b57905 Add td_api::getRecentlyOpenedChats. 2021-09-14 14:18:37 +03:00
levlam
27d4810cb1 Add check that message isn't nullptr. 2021-09-14 13:44:26 +03:00
levlam
f98eeda616 Add flag backgroundTypePattern.is_inverted instead of negative intensity. 2021-09-14 12:53:59 +03:00
levlam
5a85c8a95b Improve error message. 2021-09-14 12:16:29 +03:00
levlam
d9a0168bfa Improve logging in G_impl. 2021-09-14 11:54:54 +03:00
levlam
55ad2e5f86 Load recent dialogs in one pass. 2021-09-14 11:31:21 +03:00
levlam
fa65e429eb Return void from RecentDialogList::load_dialogs. 2021-09-14 10:16:20 +03:00
levlam
dc35dea8a3 Use SliceBuilder in RecentDialogList::save_dialogs. 2021-09-13 21:47:11 +03:00
levlam
a68163b94c Simplify and optimize RecentDialogList::load_dialogs. 2021-09-13 21:36:07 +03:00
levlam
4b641df524 Load recent dialogs before adding/removing them. 2021-09-13 21:30:48 +03:00
levlam
77c8eb9617 Add promise to RecentDialogList::get_dialogs. 2021-09-13 20:52:17 +03:00
levlam
5bec536803 Add class RecentDialogList. 2021-09-13 20:34:57 +03:00
levlam
5379c66acb Improve documentation. 2021-09-13 16:46:01 +03:00
levlam
c03621d72c Add CHECK debug. 2021-09-13 16:03:21 +03:00
levlam
075d004b9f Replace getChatThemes with updateChatThemes. 2021-09-13 15:55:01 +03:00
levlam
a838fff28f Add operator== for ThemeSettings. 2021-09-12 22:39:52 +03:00
levlam
196128b2f1 Update chat theme cache after receiving telegram_api::updateTheme. 2021-09-12 22:29:40 +03:00
levlam
488e5699b7 Send updateDeleteMessages for failed to add just sent messages. 2021-09-12 21:55:03 +03:00
levlam
b274c7dc85 Fix input_peer checks in toggle_message_sender_is_blocked. 2021-09-12 20:48:35 +03:00
levlam
0b1ba7f413 Use Debian 10 build instructions for Debian 11. 2021-09-12 19:54:54 +03:00
levlam
45ebe775c5 Optimize SessionConnection::on_slice_packet using TlDowncastHelper. 2021-09-12 19:46:12 +03:00
levlam
47d3806c62 Move TlDowncastHelper to tdutils. 2021-09-12 19:04:22 +03:00
levlam
964a3e1d08 Add Swiftgram/TDLibKit to the list of examples. 2021-09-12 09:08:53 +03:00
levlam
5dfd9ac9af Disallow changing chat themes in group chats. 2021-09-11 23:24:46 +03:00
levlam
78baa7977b Don't inherit Td from NetQueryCallback. 2021-09-10 18:58:36 +03:00
levlam
088c3169d4 Minor. 2021-09-10 18:23:23 +03:00
levlam
137543c172 Use send_closure_later in NetQueryDispatcher to break stack chain. 2021-09-10 17:42:24 +03:00
levlam
2062daf9cd Don't wrap updates in NetQuery. 2021-09-10 17:32:39 +03:00
levlam
edfdcc0170 Remove default on_server_salt_updated implementation. 2021-09-10 16:45:39 +03:00
levlam
55e69f65af Add separate on_update callback. 2021-09-10 16:31:04 +03:00
levlam
e6799e3054 Simplify rpc_error handling. 2021-09-10 16:12:56 +03:00
levlam
641f47a81c Use switch instead of if. 2021-09-10 16:08:46 +03:00
levlam
5c87fb853e Use int32 as sponsored message ID. 2021-09-10 11:44:50 +03:00
levlam
f63196f9fa Improve URL and email matching. 2021-09-09 17:59:24 +03:00
levlam
9bf5b5343b Prevent partial updateBasicGroupFullInfo. 2021-09-09 15:41:50 +03:00
levlam
3abe1edbc5 Improve editMessageMedia documentation. 2021-09-09 15:37:08 +03:00
levlam
c582ab0bbf Allow LTO for all build types. 2021-09-08 16:59:57 +03:00
levlam
b8df633f34 Minor include improvements. 2021-09-08 16:50:03 +03:00
levlam
cf452ce7c8 Support MESSAGE_NOTHEME and CHAT_MESSAGE_NOTHEME push notifications. 2021-09-08 14:39:39 +03:00
levlam
1c56e62a6a Add internalLinkTypeVoiceChat.is_live_stream flag. 2021-09-08 13:53:24 +03:00
levlam
015d6cd92d Support videochat/livestream internal links. 2021-09-08 01:50:49 +03:00
levlam
5bb10b4bb3 Cache sponsored messages. 2021-09-07 20:27:04 +03:00
levlam
8117853ea4 Add logging on partial update*FullInfo. 2021-09-07 18:20:34 +03:00
levlam
f59ba4b5e5 Avoid duplicate UserFull updates. 2021-09-07 18:02:03 +03:00
levlam
168399f21d Add source to update_*_full. 2021-09-07 17:41:56 +03:00
levlam
efbb5bde96 Combine getSponsoredMessages queries. 2021-09-07 17:21:18 +03:00