Commit Graph

3970 Commits

Author SHA1 Message Date
Andrea Cavalli
cba9f74cba Merge remote-tracking branch 'td/master' 2020-11-22 01:11:21 +01:00
levlam
5cbf90e4a0 Safer work with negative monotonic time. 2020-11-21 16:34:39 +03:00
levlam
ea6cdde0c5 Fix MSVC 15.3 CE. 2020-11-20 02:03:39 +03:00
levlam
d5da47510d Minor fixes. 2020-11-20 01:32:58 +03:00
levlam
09b10c0ed1 Improve names of statistical classes. 2020-11-19 17:57:15 +03:00
levlam
74a960aca1 Allow zero sender in searchChatMessages. 2020-11-19 14:55:09 +03:00
levlam
ebfe3f3d99 Improve new interface documentation. 2020-11-18 23:42:26 +03:00
levlam
6f26706da5 Fix closing connection on too much dropped packets. 2020-11-18 17:49:29 +03:00
levlam
3f33d15879 Always adjust part size to keep low number of parts in downloaded files. 2020-11-17 02:59:58 +03:00
levlam
52a47b5f70 Add small margin for the maximum number of file parts on download. 2020-11-17 01:19:27 +03:00
Andrea Cavalli
bc0f162ad6 Merge commit '78e45da6b9014f8efd96cee0ad5701464d911cc7' 2020-11-15 18:16:02 +01:00
levlam
78e45da6b9 Use array instead of std::vector in the generated C++ classes. 2020-11-15 19:57:03 +03:00
levlam
f693874c50 Improve documentation. 2020-11-15 17:38:10 +03:00
levlam
5eea5b7501 Rename create_client to create_client_id. 2020-11-15 01:13:11 +03:00
Andrea Cavalli
e4bcc81ec7 Merge commit '00abe2f4019717c6479e30c588059a3cfd3be58e'
Conflicts:
	td/generate/scheme/td_api.tlo
2020-11-14 11:11:47 +01:00
levlam
6a9cd72636 Don't create client through ClientManager until first request is sent to it. 2020-11-12 14:45:18 +03:00
levlam
597c0d2983 Add checks that client ID doesn't overflow. 2020-11-12 01:19:30 +03:00
Andrea Cavalli
ccc5fbf9ff Update MessagesManager.cpp 2020-11-11 19:51:08 +01:00
levlam
9725780fc6 Replace referenced text with anchor name in richTextReference to support nested references. 2020-11-11 16:41:30 +03:00
Andrea Cavalli
2821f4af4f Update ContactsManager.cpp 2020-11-10 13:05:13 +01:00
Andrea Cavalli
cbe8d94183 Merge commit '1fa87babb32ea85ff5a97ab93525ae13f66a0eef' 2020-11-10 12:42:50 +01:00
Andrea Cavalli
eb28f728be Remove unused mutex 2020-11-10 12:42:35 +01:00
levlam
ea8c57fea3 Fix canceling chat actions on timeout. 2020-11-09 12:33:40 +03:00
Andrea Cavalli
604df72790 Merge commit '1d75237893c8a08d73ba95a7e76b8da517b8c1dc' 2020-11-08 23:49:01 +01: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
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
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
e022963e1e Merge commit 'ff0c727ee2129b66a2908e46edc3bc9f7774e834' 2020-11-06 11:48:24 +01: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
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
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
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