Commit Graph

98 Commits

Author SHA1 Message Date
levlam
00a349656d Unify td/telegram/include order. 2021-10-27 17:32:09 +03:00
levlam
93f2436f0e Use Delete..OnServer instead of Delete..FromServer. 2021-10-27 15:38:09 +03:00
levlam
c24501f2d9 Reduce "this" usages. 2021-10-23 21:17:00 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
e87bf3a174 Fix some MultiPromise locks. 2021-10-07 18:14:49 +03:00
levlam
3b794126d8 Avoid G usage in lambda promises. 2021-10-07 15:28:52 +03:00
levlam
9217e9090a Remove useless PSLICE/PSTRING. 2021-10-06 13:48:29 +03:00
levlam
5b4a657228 Minor include fixes. 2021-08-05 01:09:39 +03:00
levlam
1223c72741 Add class EncryptedFile. 2021-08-01 06:17:51 +03:00
levlam
028691622d Silence expected warning. 2021-07-19 21:00:41 +03:00
levlam
75022464b3 Add comment about random_length value. 2021-07-19 20:19:44 +03:00
levlam
efc762360c Improve random bytes length. 2021-07-19 19:32:56 +03:00
levlam
61664b4044 Move remaining MTProto classes to namespace mtproto. 2021-07-05 21:04:23 +03:00
levlam
1d3e72aa9d Improve constant names. 2021-07-05 19:17:26 +03:00
levlam
4b0bda767c Add SecretChatLayer.h. 2021-07-05 05:42:37 +03:00
levlam
bed2650b4c Fix secret chat creation. 2021-07-02 03:25:09 +03:00
levlam
d80b613b55 Remove support for secret chat layers before 73. 2021-06-08 18:31:29 +03:00
levlam
a6a4eb6616 Don't include SliceBuilder.h in logging.h. 2021-05-17 15:21:11 +03:00
levlam
224b560c83 Improve error message on access to a closed secret chat. 2021-03-29 21:26:31 +03:00
levlam
c739df8507 Pass UserId instead of int32 when creating secret chat. 2021-03-29 11:57:26 +03:00
levlam
0339921102 Improve some spelling. 2021-03-15 03:32:14 +03:00
levlam
e031a2c6c1 Improve Slice::truncate usage. 2021-02-04 15:54:12 +03:00
levlam
dbf1253075 Replace deleteSupergroup with universal deleteChat method. 2021-01-20 14:49:18 +03:00
levlam
091d08b6a9 Improve encryptedChatDiscarded handling. 2021-01-18 19:02:24 +03:00
levlam
cc8c0cbe64 Support delete_history flag in messages.discardEncryption. 2021-01-18 15:04:31 +03:00
levlam
ea70b5abaf Update layer 123. 2021-01-17 04:05:30 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
cb3f390a92 Unify "log event" spelling.
GitOrigin-RevId: a1a491981596c56dbf7541d80ead1ea9f5d5bd04
2020-09-22 02:15:09 +03:00
levlam
e848087e24 Support sending silent messages in secret chats.
GitOrigin-RevId: fe15f9526bd5066b596e7e31d28bd9bab20cf719
2020-08-21 15:38:23 +03:00
levlam
23b3eb4931 Update layer to 118. Support message forward count.
GitOrigin-RevId: 10f59fede8b4a86c871949fc721fedd1d615c4bf
2020-07-31 05:50:11 +03:00
levlam
a2e7a0b12d Support receiving silent messages in secret chats.
GitOrigin-RevId: 59df982a7ac96c5490eb90ef8def522ac3a47b53
2020-08-19 18:15:40 +03:00
Arseny Smirnov
e5b6d7b975 SecretChatActor: fix resending of messages after restart
GitOrigin-RevId: 84476393d7d2f5e2ce26229a3cade4ec842050b0
2020-08-18 18:24:53 +03:00
levlam
a404948707 Add MessageCopyOptions.
GitOrigin-RevId: a61b93c3c215c42c9a7f30195cc637187472751e
2020-08-09 14:18:08 +03:00
levlam
983119ada3 Unify begin/end usages.
GitOrigin-RevId: 422dd5dbfdab7240818bbc35a7c554effa097378
2020-08-09 04:01:30 +03:00
levlam
c44cd3415c Move QtsManager to UpdatesManager.
GitOrigin-RevId: 792faddd71cb3f9c07a4fd915ca782bfe2606ac3
2020-08-02 22:07:22 +03:00
levlam
5285a02cf8 Remove some logging in tests.
GitOrigin-RevId: 35194c43063ec1b65d67b3d58157ab77d7819691
2020-08-02 01:40:48 +03:00
levlam
cf93b3c69c Support initial folder for secret chats.
GitOrigin-RevId: 57894f3ff767a0b24bac08c8251f51f3e4722b6a
2020-06-30 12:11:22 +03:00
Arseny Smirnov
e78831cd2b secret chats: fix CHECK
GitOrigin-RevId: 191ec9b6542f1e861465c862261ed78a93d33886
2020-06-29 19:29:17 +03:00
levlam
c921bcc5ed Improve NetQuery public field names.
GitOrigin-RevId: cfa0dbd98c1b03e4e86d62fc6486fcf90e72ef25
2020-06-10 02:44:54 +03:00
Arseny Smirnov
e8dba312fe secret: fix infinity loop for non-rewritable queries during flood control errors
GitOrigin-RevId: 8f0e3d0a402426c22760074b0bbdf144401f353f
2020-06-09 14:34:48 +03:00
levlam
88f6e483fe Fix warning.
GitOrigin-RevId: 601d5141c123ee4928ea309b1846511fcf6d6b62
2020-06-05 08:16:38 +03:00
levlam
8dd4358ad9 Improve comment message.
GitOrigin-RevId: 037a91723ebf80ce0540b2872cf7470858cb2708
2020-03-31 00:55:00 +03:00
levlam
62863e9280 Minor fixes.
GitOrigin-RevId: e7b9ea9cb76d5c65c00a5ca86c85c6c8984e1d3c
2020-03-16 22:00:44 +03:00
levlam
d06a786a16 Simplify NetQueryCreator and remove mtproto dependency on telegram_api.
GitOrigin-RevId: 2edfc9d6d80eab8716dfd3722f6aebe53dba1e47
2020-03-16 01:01:14 +03:00
levlam
c4c9e51157 Make all fields required in full NetQueryCreator methos.
GitOrigin-RevId: aa8ebb5cc46b9f3b7c0b606c012ace5fafe2bbf2
2020-03-15 04:15:54 +03:00
levlam
0d08895871 Simplify NetQuery creation in SecretChatActor.
GitOrigin-RevId: a6d00cb5175552f9aa6dc7b38462fc00eb5b78f7
2020-03-15 03:43:42 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
099e767b6b Add ServerMessageId.h.
GitOrigin-RevId: f71d1f41f84c2263890875271f47f938e792aa55
2019-11-26 19:33:18 +03:00
levlam
26c5328b89 Do not generate default constructors.
GitOrigin-RevId: 89afa038ad99739ca0465e05a2e123ac60e7fa7a
2019-11-21 17:53:39 +03:00
levlam
809b28aa4a Better MTProto spelling.
GitOrigin-RevId: d631aa03c2b3b19abe2c804d9a5e1d7d95602693
2019-10-26 16:58:38 +03:00