Commit Graph

9630 Commits

Author SHA1 Message Date
levlam
4d8fae253e Simplify uploadStickerFile. 2023-02-09 16:05:26 +03:00
levlam
b6de7319d4 Support inputSticker keywords. 2023-02-09 15:23:55 +03:00
levlam
8e2cbeebc1 Add td_api::setStickerSetTitle. 2023-02-08 21:43:09 +03:00
levlam
9871aba024 Add td_api::setCustomEmojiStickerSetThumbnail. 2023-02-08 21:29:54 +03:00
levlam
5bbac9d0b4 Support creation of repainted custom emoji sticker sets. 2023-02-08 20:29:53 +03:00
levlam
58775c5852 Allow to create emoji sticker sets. 2023-02-08 20:01:56 +03:00
levlam
91a13ea705 Allow multiple open/close for the same chat. 2023-02-07 21:45:03 +03:00
levlam
fbea859a11 Add MessageSource to viewMessages. 2023-02-07 21:08:54 +03:00
levlam
f6615189af Update layer to 154. 2023-02-07 14:01:45 +03:00
levlam
8b292e4f85 Ensure that being added FileSource isn't copied. 2023-02-28 14:35:52 +03:00
levlam
3678343a06 Simplify language code check. 2023-02-27 01:17:22 +03:00
levlam
22fdc0258b Use "receive"/"have"/"loaded" instead of "got" and other log message improvements. 2023-02-26 14:22:31 +03:00
levlam
ffcc1719ef Improve log message spelling. 2023-02-26 13:41:49 +03:00
levlam
47724bd4d8 Improve log message spelling. 2023-02-26 13:08:03 +03:00
levlam
9b8ee4df3c Improve FileLoader comment. 2023-02-26 01:18:59 +03:00
levlam
d1f6ae168b Simplify sticker set source logging. 2023-02-25 23:37:50 +03:00
levlam
3979fc122b Allow to create basic groups without other members. 2023-02-24 16:33:14 +03:00
levlam
1543c41f34 Fix ContactsManager::reload_channel. 2023-02-23 12:52:15 +03:00
levlam
c4b7100ad8 Repair unread mention count in channels when a mention is read. 2023-02-22 13:09:24 +03:00
levlam
4b538adbdb Remove redundant Slice copy constructor usages. 2023-02-21 11:21:07 +03:00
levlam
de1c6a0ecd Store last handshake query in string instead of BufferSlice. 2023-02-21 11:02:10 +03:00
levlam
a369025cd3 Improve NetQuery debug. 2023-02-20 13:11:39 +03:00
levlam
bc8811ea82 Simplify MessagesManager::can_unload_message for bots; allow to unload the last message. 2023-02-20 12:40:49 +03:00
levlam
6e0ed42544 tg_cli: remove as_button_id. 2023-02-19 11:21:42 +03:00
levlam
bdbb8613f7 Improve PhotoSize type logging. 2023-02-18 23:14:59 +03:00
levlam
e3fac31061 Log photo date. 2023-02-18 23:09:04 +03:00
levlam
6c38e3c018 Use G()->close_status() instead of manual error. 2023-02-17 16:14:31 +03:00
levlam
3fef62a396 Reuse default_result. 2023-02-17 16:06:38 +03:00
levlam
6cf6f32418 Add Global::ignore_result_if_closing. 2023-02-16 13:35:27 +03:00
levlam
337bdc5f5e Use request promise in getWebPagePreview. 2023-02-15 15:05:37 +03:00
levlam
d9a4e5572f Don't pass default is_optional value to get_json_object_string_field. 2023-02-14 15:21:10 +03:00
levlam
abbeffe964 Improve thumbnail variable names. 2023-02-14 15:10:27 +03:00
levlam
e9cbb07dee Update .gitignore. 2023-02-13 15:51:04 +03:00
levlam
9db7834077 Remove now unused CI yml. 2023-02-13 15:48:05 +03:00
levlam
1f3de5bd99 Update src.sh/src.ps1. 2023-02-13 15:43:55 +03:00
levlam
ee4ecbc0be Avoid the use of low-numbered file descriptors. 2023-02-13 14:40:36 +03:00
levlam
b9f7cc4150 Add tests for erase_batch. 2023-02-12 03:36:52 +03:00
levlam
2543d00314 Add erase_batch to key-values. 2023-02-12 03:29:19 +03:00
levlam
af27ba7c32 Return 0 from erase_batch for empty event list. 2023-02-12 03:18:22 +03:00
levlam
896de65c3e Improve field name. 2023-02-11 22:37:43 +03:00
Arseny Smirnov
ebe93d7e4f Binlog::erase_batch, TQueue:pop_batch 2023-02-10 15:14:14 +01:00
levlam
1c9efb4283 Binlog: avoid sync on Binlog creation. 2023-02-10 15:21:43 +03:00
levlam
852a1640b0 Fix FileFd::sync_barrier. 2023-02-10 15:17:07 +03:00
Arseny Smirnov
8df048c0d2 Use FileFd::sync_barrier in Binlog 2023-02-10 12:17:56 +01:00
Arseny Smirnov
a0dd1e1a07 FileFd::sync_barrier uses F_BARRIERFSYNC on darwin 2023-02-10 12:17:56 +01:00
levlam
80fc0346e8 Fix tdactor benchmark. 2023-02-10 13:56:14 +03:00
Arseny Smirnov
f2ca22745a Avoid std::move to itself in BinlogEventsProcessor 2023-02-09 22:53:04 +01:00
Arseny Smirnov
cde74133a6 Store std::string instead of BufferSlice in BinlogEvent 2023-02-09 22:53:02 +01:00
Arseny Smirnov
fb854c93a8 Fix benchmark/bench_db.cpp 2023-02-09 22:52:59 +01:00
levlam
6ba394fc41 Add class StickerMaskPosition. 2023-02-09 20:15:21 +03:00