Commit Graph

7857 Commits

Author SHA1 Message Date
levlam
e8d022e52c Simplify StickersManager::upload_sticker_file. 2023-02-14 16:10:27 +03:00
levlam
7be16c8a68 Move sticker_format out of inputSticker. 2023-02-14 14:59:03 +03:00
levlam
ae0a473cb9 Add td_api::setStickerMaskPosition. 2023-02-10 15:52:25 +03:00
levlam
b895900e75 Simplify td_api::emojiCategory usage. 2023-02-09 22:47:44 +03:00
levlam
8e74b99e13 Add td_api::setStickerKeywords. 2023-02-09 21:43:38 +03:00
levlam
c53b05e4e8 Add td_api::setStickerEmojis. 2023-02-09 20:42:09 +03:00
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
896de65c3e Improve field name. 2023-02-11 22:37:43 +03:00
levlam
6ba394fc41 Add class StickerMaskPosition. 2023-02-09 20:15:21 +03:00
levlam
5a39bb4952 Use error code returned by get_input_file_id. 2023-02-09 18:31:02 +03:00
levlam
7b759a06bc Add StickersManager::get_sticker_input_document. 2023-02-09 17:26:50 +03:00
levlam
ed9df60e1e Update needs_repainting documentation. 2023-02-09 13:29:39 +03:00
levlam
58c4a12ca6 Fix getPremiumStickers. 2023-02-08 18:36:54 +03:00
levlam
7eee3f469a Update clang-format to 16.0.0. 2023-02-08 15:28:36 +03:00
levlam
1e6c3ef93d Don't try to reload data mutiple times without network. 2023-02-06 20:31:17 +03:00
levlam
d4833b7844 Reload autosave settings periodically. 2023-02-06 20:10:27 +03:00
levlam
2260944afe Save autosave settings to database. 2023-02-06 19:53:21 +03:00
levlam
3d0140b3ef Fix SQLite key-value usage. 2023-02-06 15:41:22 +03:00
levlam
5ed1d22d08 Fix watchOS compilation error. 2023-02-06 15:20:09 +03:00