Commit Graph

5406 Commits

Author SHA1 Message Date
levlam
1d75237893 Don't export CXXFLAGS in build instructions generator. 2020-11-08 21:03:23 +03:00
levlam
7a0b88441a Add CentOS to build instructions generator. 2020-11-08 18:51:35 +03:00
levlam
f9a600c401 Minor fixes. 2020-11-08 14:00:36 +03:00
levlam
b21d667bdf Fix compilation error. 2020-11-08 12:09:27 +03: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
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
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
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
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
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
levlam
d28a7245ea Make can_get_channel_message_statistics const to prevent unneeded getChannelFull requests.
GitOrigin-RevId: 90121f149dfa5ec6e586b8932b8507dd25614921
2020-10-31 15:28:55 +03:00
levlam
e27385e9b8 Fix discussion message usage.
GitOrigin-RevId: 52f7c267b29589c751a2acfc5f74dce9950dc801
2020-10-31 15:19:36 +03:00
levlam
38d2fb8e94 Improve updates order.
GitOrigin-RevId: 5a88973c364be4630a7923190958cda47c697678
2020-10-31 14:55:44 +03:00
levlam
ca3315ba06 Add MessagesManager::update_reply_count_by_message and update reply_count on message deletion.
GitOrigin-RevId: 2746c056ae021053587c8b16b50a92ed126f89da
2020-10-31 13:55:53 +03:00
levlam
dd12a34656 Simplify set_dialog_last_pinned_message_id usage.
GitOrigin-RevId: 62c3e3e8b5bd0260bc059ba92b6bc400bb9b3eda
2020-10-31 13:13:31 +03:00
levlam
7010c7c6ea Fix dropping pending updates after receiving empty difference.
GitOrigin-RevId: b8a7a2298191123b0e5be818ebae52c52998eab0
2020-10-31 12:01:13 +03:00
levlam
a4a28c511b Move logging from ERROR to WARNING.
GitOrigin-RevId: f46e811f84315f014625ea532459fa714432a884
2020-10-31 11:58:06 +03:00
levlam
1fcd6b54ed Improve messageProximityAlertTriggered field names.
GitOrigin-RevId: b67708794a18ee954455871cce1084ca047f7f35
2020-10-31 01:38:11 +03:00
levlam
0efc6ee617 Reload all sticker sets once to drop legacy photo locations.
GitOrigin-RevId: 2ab5e1ba035ea3946a733a06e44cc1f7b327cd36
2020-10-31 01:32:18 +03:00
levlam
0cc4767839 Improve getSuitableDiscussionChats documentation.
GitOrigin-RevId: 9d90fc5b5a702e01f6001a3c4ffe489152a274b7
2020-10-30 21:27:38 +03:00
levlam
b433905bb0 Increase version to 1.6.10.
GitOrigin-RevId: 5b448003c89f845050293a9fceb6a89cd8399ca7
2020-10-30 21:09:08 +03:00