Commit Graph

5727 Commits

Author SHA1 Message Date
levlam
3a87d1908f Fix updating message.is_pinned.
GitOrigin-RevId: d00c962f66c04b6977b395ed2c35d2c97c1c51bc
2020-10-28 15:14:42 +03:00
levlam
974feddb4a Reload full chat info after pinned message is dropped.
GitOrigin-RevId: 6cbf3d217b5da21f050715ed290cb122d6a4ef2c
2020-10-28 14:25:27 +03:00
levlam
0ec0f20f62 Improve pinChatMessage documentation.
GitOrigin-RevId: f4b5acfaf3a54e54fc757064ec0ba0632bf25d0f
2020-10-28 12:49:06 +03:00
levlam
a7e1f29f34 Fix updating of scheduled messages.
GitOrigin-RevId: 2744c6763bdb1e8fcfbdaa44b6f5f928e8fddbc7
2020-10-27 18:55:38 +03:00
levlam
8d2c2e586e Disable message threads in non-root messages in non-linked groups.
GitOrigin-RevId: 71b2b3cdcf413353a76adb9524ddfdf5fe89b972
2020-10-27 15:10:56 +03:00
Andrea Cavalli
9503507cfd Merge commit '32f2338bd199dd06a1b4b5f1ad14f2d4f2868f01'
Conflicts:
	td/telegram/MessagesManager.cpp
2020-10-26 21:56:43 +01:00
Andrea Cavalli
134d20b7ec Merge commit 'bf945e05be9a9f696bdd866cc3427ac1bc7a4825' 2020-10-26 21:55:16 +01:00
Andrea Cavalli
af1971c3c7 Rewrite readme features 2020-10-26 21:51:25 +01:00
levlam
ecf9ea23ac Remove accuracy from inline result description.
GitOrigin-RevId: 0c6ff5d197d2292c748c260d0afbdb0cd265f2ad
2020-10-26 23:12:04 +03:00
levlam
e94e4b8dff tg_cli: add addadmin chat member status.
GitOrigin-RevId: e87588a4f1d3bd484b33aed530cd9f1a25e59ad6
2020-10-26 23:11:27 +03:00
Andrea Cavalli
52e41fbb76 Fix TTL not set 2020-10-26 13:08:23 +01:00
levlam
32f2338bd1 Update macOS export list.
GitOrigin-RevId: 61a3acb7f708825f835b7e5455ce0221b21225d3
2020-10-26 13:33:28 +03:00
Andrea Cavalli
07fed579c2 Update MessagesManager.cpp 2020-10-26 01:52:49 +01:00
Andrea Cavalli
973b9170de Add option ignore_server_deletes_and_reads 2020-10-26 01:41:50 +01:00
levlam
36492d3af9 Document maximum approaching notification distance.
GitOrigin-RevId: 8acf0c630c04d0c8ffea9acf69435af6815af446
2020-10-25 23:54:33 +03:00
Andrea Cavalli
70b9b6764f Bugfixes 2020-10-25 20:52:25 +01:00
Andrea Cavalli
14b8f24954 Update CMakeLists.txt 2020-10-25 17:35:50 +01:00
Andrea Cavalli
d3ff817f83 Update CMakeLists.txt 2020-10-25 17:08:17 +01:00
Andrea Cavalli
00389d86ac Update tl-parser 2020-10-25 15:32:59 +01:00
Andrea Cavalli
3fb167d617 Update tl-parser 2020-10-25 15:20:18 +01:00
Andrea Cavalli
a22797e390 Update CMakeLists.txt 2020-10-25 14:56:56 +01:00
Andrea Cavalli
8fa4a610a4 Update CMakeLists.txt 2020-10-25 14:36:48 +01:00
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