Commit Graph

5357 Commits

Author SHA1 Message Date
levlam
b21d667bdf Fix compilation error. 2020-11-08 12:09:27 +03:00
Andrea Cavalli
6f28ad36af Merge commit '60edadab90d7aeb8d7a44764344b8848abf5b8bb'
Conflicts:
	td/telegram/MessagesManager.cpp
2020-11-07 23:10:26 +01:00
levlam
60edadab90 Automatically group forwarded documents and music files. 2020-11-08 00:40:12 +03:00
levlam
0713c913de Remove now unneeded postponed_get_message_requests_. 2020-11-08 00:40:12 +03:00
levlam
00382f825b Get channel difference if it is needed to add messages. 2020-11-08 00:40:12 +03:00
levlam
ed25a03dda Get channel difference before adding discussion message if needed. 2020-11-08 00:40:12 +03:00
levlam
260c15e3e9 Add process_discussion_message method. 2020-11-08 00:40:12 +03:00
levlam
8f623e8be7 Add early check for another active channel difference. 2020-11-08 00:40:12 +03:00
levlam
cb06833eb1 Reload full dialog info with a small delay. 2020-11-08 00:40:06 +03:00
Andrea Cavalli
b22a1a46e6 Remove annoying error 2020-11-07 22:20:46 +01:00
levlam
431b0bddbc Fix GCC warning. 2020-11-06 18:27:33 +03:00
levlam
7e82a54417 Fix std::is_trivially_copyable usage. 2020-11-06 18:27:19 +03:00
Andrea Cavalli
1f7c4e2508 Remove death_handler 2020-11-06 14:27:05 +01:00
levlam
da1f073e22 Forward messages in two passes. 2020-11-06 16:00:56 +03:00
levlam
398c7cfd52 Don't drop administrator count in non-admined supergroups. 2020-11-06 15:16:30 +03:00
Andrea Cavalli
d71e2c54a8 Merge branch 'master' of ssh.git.ignuranza.net:tdlight-team/tdlight 2020-11-06 12:18:00 +01:00
Andrea Cavalli
8c8b10541d Typo 2020-11-06 12:17:44 +01:00
Andrea Cavalli
e022963e1e Merge commit 'ff0c727ee2129b66a2908e46edc3bc9f7774e834' 2020-11-06 11:48:24 +01:00
levlam
ff0c727ee2 Fix code formatting. 2020-11-06 02:13:12 +03:00
Sergey Polovko
645052bec7
Implement hash function for MessageContentType enum. (#1283) 2020-11-06 02:05:15 +03:00
Andrea Cavalli
28add54662 Update cli.cpp 2020-11-05 22:02:00 +01:00
Andrea Cavalli
423d05f18e Remove death handler if using musl 2020-11-05 21:58:40 +01:00
levlam
e4dda41a98 Always use SplitSource on OpenBSD. 2020-11-05 23:42:58 +03:00
levlam
254823d602 Fix search inside message threads. 2020-11-05 17:46:47 +03:00
Andrea Cavalli
d34a45ec83 Remove malloc_trim with musl 2020-11-05 12:48:59 +01:00
Andrea Cavalli
e56e0ae279 Use sh instead of bash 2020-11-04 21:51:30 +01:00
Andrea Cavalli
4acc54ee73 Remove autogenerated files 2020-11-04 21:27:15 +01:00
Andrea Cavalli
dd062da094 Merge commit '5c5f3bece5aea447ca940bd570599d8bd4b3c1cc' 2020-11-04 20:08:36 +01:00
Andrea Cavalli
16f41643ed Merge commit '821398fa211b6a3c53733ccf271ee7a783d9bc75'
Conflicts:
	.gitignore
	td/generate/scheme/td_api.tlo
	td/telegram/ContactsManager.h
2020-11-04 20:05:50 +01:00
Andrea Cavalli
2e31ced59b Update to tdlib 1.6.10 2020-11-04 20:03:14 +01:00
levlam
5c5f3bece5 Fix C++ example. 2020-11-04 21:35:38 +03:00
levlam
821398fa21 Add vcpkg folder to gitignore. 2020-11-04 03:54:07 +03:00
levlam
c9a70fcd49 Minor build.html fixes.
GitOrigin-RevId: 4ecacd9a9d10a96e857d348a6a886d74ed613321
2020-11-03 17:35:12 +03:00
levlam
925e590917 Enable CMake policy CMP0060 by default.
GitOrigin-RevId: 9d2073bbf54af70c44614153f05eed3d324c0fe6
2020-11-03 12:34:34 +03:00
levlam
b3736ba098 Improve wording in build instructions generator.
GitOrigin-RevId: a84f204148b06b9859373617829badfca477d5fc
2020-11-02 20:23:10 +03:00
levlam
1f484446fc Fix pkgconfig install path.
GitOrigin-RevId: 2a8a4160d82ee15f02ee9996a7a964bd8fe37c6e
2020-11-02 19:34:21 +03:00
levlam
c1de6a7d8d Minor improvements.
GitOrigin-RevId: eb8b201d80405feb6972b2eabc7de30d40aa8b81
2020-11-02 00:43:57 +03:00
levlam
301c8b167f Allow passing outdated yet unsent message identifier to getRepliedMessage.
GitOrigin-RevId: b24c47456a3716022de52fe030245e048ff5d053
2020-11-01 23:24:29 +03:00
levlam
ab5484fd78 Improve logging.
GitOrigin-RevId: 2d3e19395b48d4c6c330a852d559b537ff363b4e
2020-11-01 23:22:42 +03:00
levlam
69ae1d4f0c Allow auth.bindTempAuthKey before authorization to check auth_key validness.
GitOrigin-RevId: 7a80d84aef6a9f097c6567ed72bccd9b62f87c2c
2020-11-01 21:42:48 +03:00
levlam
3a8931cff0 Ping server only if authorized.
GitOrigin-RevId: 02e272e5dd2892fde8df74b968091d14fb96ed54
2020-11-01 21:36:42 +03:00
levlam
107d86f6d4 Improve formatting.
GitOrigin-RevId: 0038725a5dd9e4773f4c7e8f1b8e4a0372087261
2020-11-01 11:58:01 +03:00
levlam
d90f271c48 Add TD_ENABLE_MULTI_PROCESSOR_COMPILATION option for MSVC.
GitOrigin-RevId: f5500b79eb83a20d7ffc1c73963fa3f29fc90012
2020-11-01 11:55:51 +03:00
levlam
36763888d4 Improve Usage output in OptionParser.
GitOrigin-RevId: 8955f6ce0643fbf871b3f3781bd36568d490eb6c
2020-11-01 01:28:58 +03:00
levlam
fd2fcc3eb0 Improve documentation.
GitOrigin-RevId: f0e6047beb07322b285807462d381e8fdafe35a3
2020-10-31 21:27:21 +03:00
levlam
f9a527b2d0 Update documentation.
GitOrigin-RevId: 6f36ec26b37604e21b4de35a2be864ab9e7fd251
2020-10-31 21:24:59 +03:00
levlam
c8949e264d Allow access to channel if it has linked channel, but we can't check access to it.
GitOrigin-RevId: 897e86d18ad2b3c829c4ac544320fa4ee4ebd31b
2020-10-31 19:40:08 +03:00
levlam
ed0bf2c1b3 Ignore failed to load chats in getChatFilter.
GitOrigin-RevId: 5c1871080e56576f402917e1ecfbf0c99da0deba
2020-10-31 16:43:26 +03:00
levlam
778adce53d Add debug logging.
GitOrigin-RevId: 08ae2a25ae086a2211658239a532e1e19d996a4f
2020-10-31 16:33:06 +03:00
levlam
98ff412f7a Use get_channel_full_const in get methods to avoid unneeded getChannelFull requests.
GitOrigin-RevId: 1959c781b6c85667065e38af125a87186746a233
2020-10-31 15:47:40 +03:00