Commit Graph

119 Commits

Author SHA1 Message Date
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
df563e781e Explicitly specify TLObjectStorer's template parameter. 2023-09-21 21:31:59 +03:00
levlam
14af252795 Improve names of create_*_storer functions. 2023-09-21 21:19:18 +03:00
levlam
efba70c2ef Unify names of PacketInfo variables. 2023-09-10 00:04:55 +03:00
levlam
d87cc2b143 Simplify mtproto::Transport::write usage. 2023-09-09 22:49:45 +03:00
levlam
74f0d49f8e Support only Main and Archive folder identifiers. 2023-08-18 17:51:31 +03:00
levlam
bcf9ff7d43 Explicitly include telegram_api.h in cpp files. 2023-07-01 14:53:04 +03:00
levlam
22fdc0258b Use "receive"/"have"/"loaded" instead of "got" and other log message improvements. 2023-02-26 14:22:31 +03:00
levlam
0adcac246a Use explicit as_mutable_slice to get MutableSlice. 2023-02-02 17:40:47 +03:00
levlam
45ff12ca49 Improve PTS/QTS spelling. 2023-01-15 11:05:53 +03:00
levlam
903d994799 Improve punctuation. 2023-01-02 15:38:04 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
f62632fcbc Remove rarely used PromiseCreator::lambda with 2 lambdas. 2022-06-26 17:11:27 +03:00
levlam
70f4e9d3cc Avoid expected logging for failed secret chats. 2022-06-09 19:10:38 +03:00
levlam
5b089ee762 Log original decrypted message version without local replacements. 2022-05-28 23:44:41 +03:00
levlam
15a11d7053 Move expected logging about secret chat updates to INFO. 2022-05-21 23:07:28 +03:00
levlam
18cd0dd95e Workaround GCC 12 false positive warnings. 2022-05-18 16:59:15 +03:00
levlam
4652292037 Use count instead of find if appropriate. 2022-05-01 23:03:06 +03:00
levlam
02b99d0fbf Remove includes of SequenceDispatcher.h from headers. 2022-02-01 19:34:14 +03:00
Arseny Smirnov
ad38f712e8 SequenceDispatcher: hide usage into NetQueryDispatcher 2022-02-01 18:51:36 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
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