Commit Graph

5405 Commits

Author SHA1 Message Date
Andrea Cavalli
e2953ba035 Update CMakeLists.txt 2020-10-25 14:26:03 +01:00
Andrea Cavalli
dd3bf5b289 Update CMakeLists.txt 2020-10-25 11:45:46 +01:00
Andrea Cavalli
580bb13962 Update .gitmodules 2020-10-25 11:44:13 +01:00
Andrea Cavalli
120c990e8d Update CMakeLists.txt and tl-parser 2020-10-25 11:41:02 +01:00
Andrea Cavalli
b7d5e480f7 Update CMakeLists.txt 2020-10-25 10:48:48 +01:00
Andrea Cavalli
09e23b61cf Fix json formatting, fix cmake windows support 2020-10-25 10:08:13 +01:00
Andrea Cavalli
ff0d41340b Update tl-parser 2020-10-25 03:24:20 +02:00
Andrea Cavalli
017073e0a2 Add memory optimize and memory stats methods 2020-10-25 03:20:24 +02:00
levlam
38fe050dba Update layer 120. New live location approaching API.
GitOrigin-RevId: 98e984a3c84deee3552eb01b53963a6a998c7eda
2020-10-25 00:49:41 +03:00
levlam
bc2de6e5c0 Fix td_api::userFullInfo field order.
GitOrigin-RevId: 420adf21e8be165f4783aa1aca4130fb579fa3c2
2020-10-24 16:42:17 +03:00
levlam
881aa63014 Keep reply info only on last forwarded and first album messages.
GitOrigin-RevId: 0011332382abccd84122f88bcb2ae04ee793dd2b
2020-10-24 14:52:18 +03:00
levlam
a27bf08319 Allow to block users using td_api::messageSenderChat.
GitOrigin-RevId: 71be9510975f0dd8354c2cffa829d707f80ee4d3
2020-10-24 02:18:11 +03:00
levlam
978863810c Use MessageId as map key.
GitOrigin-RevId: 795c123e953dbdae3c03b828b458910fe221ce90
2020-10-24 02:00:37 +03:00
levlam
0846e7aec5 Don't use iterators after a promise is set.
GitOrigin-RevId: eba7487d7025410ae4a2230d4ce09cfa02012fdf
2020-10-24 01:45:04 +03:00
levlam
6006f92e96 tg_cli: add smad.
GitOrigin-RevId: 129344085b2f9e54ee33784d6c1c2665215a0329
2020-10-23 19:07:42 +03:00
levlam
7c5175b78a Improve error message.
GitOrigin-RevId: dfa935cc2c2f65d61a969c8a455a47145f97b8fb
2020-10-23 15:25:46 +03:00
levlam
c768cd202a Improve deletion of newer messages in on_get_channel_dialog.
GitOrigin-RevId: 98a348ba63440d8e61c1199a68298cfa66b2a863
2020-10-23 14:50:05 +03:00
levlam
3eee4654f7 Add message to td_api::chatEventMessageUnpinned.
GitOrigin-RevId: f7c90fa7d782eb57288de582094688252f230b43
2020-10-23 14:04:00 +03:00
levlam
e37fde1baa tg_cli: add searchMessagesFilterPinned.
GitOrigin-RevId: fd44a076dca80bee685d199c78e98bfa6c25d860
2020-10-23 13:42:08 +03:00
levlam
bf945e05be Remove promise from map before setting it.
GitOrigin-RevId: d721cab5311096631748e632cf8756edaef9d7e1
2020-10-23 12:54:08 +03:00
levlam
1049ae0630 Disallow pinning service messages.
GitOrigin-RevId: 18c23b8dbfe97e60e27fc605a145e11356231c38
2020-10-23 02:25:35 +03:00
levlam
65246318bb Allow to pin chat messages only for self in private chats.
GitOrigin-RevId: 57f71b2728a47469ff8f2a53478300dd3c96f658
2020-10-23 02:12:32 +03:00
levlam
793e8409de Add td_api::unpinAllChatMessages.
GitOrigin-RevId: ad5aa1cf7ea0f1ee770900f5f58409436029b9a7
2020-10-23 01:56:06 +03:00
Andrea Cavalli
11332192a0 Keep uninitialized data 2020-10-22 19:07:36 +02:00
levlam
f5c4b93a37 Use generic find_messages.
GitOrigin-RevId: ac5bb9be8a6597cbdafa3762e6d6cbf5f1720edc
2020-10-22 16:08:54 +03:00
levlam
4718e640ee Add generic MessagesManager::find_messages.
GitOrigin-RevId: 21c6f0145376ef4a779703b8cf516a420418cb39
2020-10-22 15:59:59 +03:00
levlam
a6f9fde223 Update built-in bot flags.
GitOrigin-RevId: f54618d393b39e14f1269c8237d971ff47402a72
2020-10-22 13:21:51 +03:00
levlam
989491466d Add lpad function.
GitOrigin-RevId: d23ef15d200e2b199294de0d10a10e92d7389339
2020-10-22 12:22:35 +03:00
levlam
1ad0b068cd Improve oneline.
GitOrigin-RevId: 6cec8e407f0f5eedb367aea25864033a69e1d1e5
2020-10-22 12:09:32 +03:00
levlam
f9009cbc01 Improve checks in MessagesManager::is_anonymous_administrator.
GitOrigin-RevId: 332c324e1c067cc2ed394fedce16b590188e3ae7
2020-10-22 02:40:58 +03:00
levlam
f59a11706c Use unique location for outgoing photos.
GitOrigin-RevId: ac3a0eed1847ee7b96d463758ee33b85c6797ac5
2020-10-22 02:11:32 +03:00
Andrea Cavalli
184510fc66 Fix remaining compilation errors 2020-10-21 22:23:31 +02:00
Andrea Cavalli
40db0efc2d Fix compilation errors 2020-10-21 22:18:54 +02:00
Andrea Cavalli
adafcf66a3 Convert hard null checks to soft null checks 2020-10-21 22:17:26 +02:00
Andrea Cavalli
5cff13f2ae Better documents cleanup 2020-10-21 22:17:07 +02:00
Andrea Cavalli
6babc009d7 Fix data ttl 2020-10-21 21:36:13 +02:00
levlam
0256a95f49 Fix GetChannelDifferenceLogEvent handling.
GitOrigin-RevId: facbb318cbba1c9ac6908db86ec5fba123c88d7b
2020-10-21 16:54:32 +03:00
levlam
313eeeedcc Return back updating of last pinned message ID on new pinned message.
GitOrigin-RevId: 03dfeb882c56815a4c5e66af1280df232f2071f6
2020-10-21 14:56:05 +03:00
Andrea Cavalli
f9c9f2bd59 Update ContactsManager.cpp 2020-10-21 03:41:05 +02:00
levlam
35045bf18e Fix get_dialog_pinned_message.
GitOrigin-RevId: 19c58053e7d0d28729f6f7ca341b788df02a091d
2020-10-21 02:23:29 +03:00
Andrea Cavalli
17230da76a Merge commit 'cecdae448e88603c98d7d079855c992be6df739f' 2020-10-20 23:20:56 +02:00
Andrea Cavalli
76dbe45ad8 Memory cleanup for caching
Remove cached deleted messages from dialogs
Comment out unused variables
2020-10-20 23:16:24 +02:00
levlam
e783b0c2ec Enable background animation for slot machines with all reels equal.
GitOrigin-RevId: e6d0097ff049ece01be766d382defde3071a887b
2020-10-20 21:40:05 +03:00
levlam
d17531e0e3 Ensure that private message push notifications don't contain mention.
GitOrigin-RevId: 87d85e63b70fdc5c9fe91d22d7cf9b7ba59f0895
2020-10-20 21:24:26 +03:00
levlam
4f7791121f Update pinned message count when message.is_pinned changed.
GitOrigin-RevId: 924aa4f4fdd009d2eb8b6603e10d19566d346444
2020-10-20 20:44:46 +03:00
levlam
5442143aba Rename pinned_message_id to last_pinned_message_id.
GitOrigin-RevId: c30148f3559f4ebecd3988c4bddc6cff82da3557
2020-10-20 20:28:37 +03:00
levlam
39fdab7b56 Remove chat.pinned_message_id field.
GitOrigin-RevId: 2a22d0eff8258e33aa7efd7b6f1daccdbcba95f9
2020-10-20 20:22:34 +03:00
levlam
31fbeaa2d0 Fix some pinned_message_id usages.
GitOrigin-RevId: 6c1952922e39214504705e6c4fb04474aba68c46
2020-10-20 19:58:59 +03:00
levlam
a9b7366296 Synchronize chat.pinned_message_id with message.is_pinned changes.
GitOrigin-RevId: 7d5debbdd6d44af3209c75745f49ad4a67b7a523
2020-10-20 19:07:11 +03:00
levlam
14f5df397d Support unpinning chat messages.
GitOrigin-RevId: 5cc4f2f5642114fd31c8a2ae71c8fda501dc73f7
2020-10-20 15:48:13 +03:00