Commit Graph

1267 Commits

Author SHA1 Message Date
levlam
60e4d27011 Add strongly typed FileDbId.
GitOrigin-RevId: 234c9ec0ecda3f2ba48e0fd00fa06a8ec0188ca4
2019-01-06 23:39:10 +03:00
levlam
5438119bb4 Fix Global.h and TdDb.h includes.
GitOrigin-RevId: 89fa1ee3e8071ad3f27687f79d1a52de113f9705
2019-01-06 22:59:17 +03:00
levlam
ea06aa19d6 Forward-declare BinlogEvent.
GitOrigin-RevId: 4ea183c04ec8e5ffd0c2851db399b2a2155557ea
2019-01-06 22:11:02 +03:00
levlam
c8f3573ca5 Do not try to attach stickers not from sticker sets.
GitOrigin-RevId: e5ae71d7e47ab5e055ecdafd22a0cbe77c19ab71
2019-01-06 21:26:19 +03:00
levlam
0403c58c73 Minor.
GitOrigin-RevId: 2d1cd971e34a79011c6e658657f7a7b1329195ca
2019-01-06 06:16:29 +03:00
levlam
93790e4350 Update documentation.
GitOrigin-RevId: 9d171d943a85c04e5b357d967a1a0484d4e61f68
2019-01-06 05:37:35 +03:00
levlam
9030b8d29e Flush all pending notifications on user going online.
GitOrigin-RevId: 7ccddf36079e30ecf31363f82a55e9663ed97743
2019-01-06 02:50:31 +03:00
levlam
ddfe9b4413 Handle other types in get_message_content_file_ids.
GitOrigin-RevId: ec5a1388efb2beb64db1207e38aa4167c3c8ae83
2019-01-06 02:34:26 +03:00
levlam
b740d3dab0 Support for MessageGame in get_message_content_file_ids.
GitOrigin-RevId: 90a6701206121dd37e1bd3dcca57d94ce5473085
2019-01-06 02:15:07 +03:00
levlam
027c1eafc4 Properly init MessagesManager.
GitOrigin-RevId: 10bd6a41a479389afdbf6d621025bba766f8e850
2019-01-06 01:25:09 +03:00
levlam
78a0a37afb Remove contacts by phone number in changeImportedContacts.
GitOrigin-RevId: 1ac5998d3d01b289761aa62e131589163e1b5194
2019-01-03 01:39:21 +03:00
levlam
9cb950bc05 Update layer 85. Support hide_via_bot.
GitOrigin-RevId: 94fb988d50640f68019007249b8e4860ccea89af
2019-01-03 00:05:47 +03:00
levlam
97a4f73999 Fix PartialLocalFileLocationPtr.
GitOrigin-RevId: c72b2da96bfc01d3c40693863830205145229aa3
2019-01-02 21:52:44 +03:00
levlam
0377bfc660 Minor.
GitOrigin-RevId: dcd4b8b88227ecb4bb529f0dbfcab45830f09da2
2019-01-02 21:31:24 +03:00
levlam
18140a1b82 Improve checkAuthenticationCode documentation.
GitOrigin-RevId: 0a3932d17f82009eaa27ce7a7f4e0017ca3c0e2d
2019-01-02 21:30:03 +03:00
levlam
649453ce0b Reduce sizeof(LocalFileLocation).
GitOrigin-RevId: cd6911a2654535303bb2b086052e767d5a912caf
2019-01-02 21:17:08 +03:00
levlam
b06a08b106 Add separate key for test DC.
GitOrigin-RevId: 6417cbe9ed98ca7c280e0f5882f11d69610386c1
2019-01-02 02:43:37 +03:00
levlam
d542182b07 Fix sending of updateSupergroup after unban.
GitOrigin-RevId: 55b4fe17ea72069814fbbf3a3994cb4ee122df46
2019-01-02 01:32:50 +03:00
levlam
8df8273c87 Fix td_api::joinChat.
GitOrigin-RevId: b03a7302e1c9639a37e44e43967dfe4331c8e439
2019-01-02 01:26:03 +03:00
levlam
da8d4ceab1 Better setChatMemberStatus.
GitOrigin-RevId: eda67ca9fc959c9b94184ca952af8186aaf8d2de
2019-01-02 00:14:03 +03:00
levlam
2bfc3578f6 Always set correct file_type in on_update_local_location.
GitOrigin-RevId: b94e23635d7d975361ab1af2c5dd06fbecf62e42
2019-01-01 20:35:08 +03:00
levlam
6b04ed9d4a Remove TODO.
GitOrigin-RevId: 094d7390c8c9b27a5cf1fa8967fe0d790b5b6d9e
2019-01-01 20:13:44 +03:00
levlam
13769d7410 Add LocalFileLocation output operator.
GitOrigin-RevId: a84cd9f30c4797570146cdf6b8ed5aa902fcf273
2019-01-01 20:02:13 +03:00
levlam
594368e571 Save expected_size for generated locations.
GitOrigin-RevId: f9902ca187bb39936b640106d466878d4a9457ec
2019-01-01 19:26:36 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
c3e7958020 Do not store sticker <-> emoji correspondence for bots.
GitOrigin-RevId: a631b0a288629c317402338d54bc8f3a7b027a09
2019-12-30 06:35:53 +03:00
levlam
d327618102 Fix notifications handling for bots.
GitOrigin-RevId: aa80acf91ef74eb30e19aaadaf33b494f09236aa
2019-12-30 03:39:49 +03:00
levlam
d810f11e2e Stable check in is_bot.
GitOrigin-RevId: d119b007e91dcd9a33179a3f32727b998825a97e
2019-12-30 03:21:46 +03:00
levlam
05a99dedb1 Improve updateMessageId handling.
GitOrigin-RevId: 6eb271f26f3bfda0544bb887e8b763f3b5b4b452
2019-12-30 02:56:52 +03:00
levlam
ea3c65b3aa Add disable_pinned_message_notifications option.
GitOrigin-RevId: 42c12c98abf2bbfa6c41e67f8b5b0c2f9a3536e9
2019-12-30 00:35:19 +03:00
levlam
fd228ce404 Increase version to 1.3.5.
GitOrigin-RevId: 6ecbaee2ccfacf0f9ae60a6e01d618a212353a58
2018-12-29 01:51:21 +03:00
levlam
04fbc9ff48 Add pushReceiverId.
GitOrigin-RevId: 6beb6930eb456d94af50ed9455ee15df8ed36e20
2018-12-29 01:48:32 +03:00
levlam
dd5b8a87c2 Remove separate setFileDownloadOffset.
GitOrigin-RevId: b9588dbbc3929de9dba01c008bc18d1f36b24571
2018-12-28 20:38:37 +03:00
levlam
e371abc0a7 Better logging of failed to parse sticker set in the database.
GitOrigin-RevId: 5fdf590fbfccb456f8dc2612470970031f81a199
2018-12-28 20:15:52 +03:00
levlam
ded974762a Delete only temporary partially generated files.
GitOrigin-RevId: aa4f17ddf141fd2058b8345126e936256609b10a
2018-12-28 19:54:46 +03:00
Arseny Smirnov
5a741ce08d PartsManager bugfix: do not set bits in bitmask for empty parts
GitOrigin-RevId: 5fec69b1e1aed975edb7d9901206262abc7151d3
2018-12-28 16:16:14 +03:00
Arseny Smirnov
89d5d680d6 FileLoader: restart cancelled queries
GitOrigin-RevId: e71c71b25098631ca68de852eece9cb9a37ec775
2018-12-28 09:42:36 +03:00
levlam
b4adf4f64f Fix GCC warnings.
GitOrigin-RevId: 11cd0f1dcc992e6cec710a7746040c6e30128c04
2018-12-28 04:30:57 +03:00
levlam
b15929f141 Better Bitmask output operator.
GitOrigin-RevId: 1640da5cfe0f1d12ef0fc549a0a2c24000625812
2018-12-28 03:31:29 +03:00
levlam
239fd79523 Move Bitmask output operator to cpp.
GitOrigin-RevId: 2b308d08ffa9e1babca61f3d3c99f34f73253d9f
2018-12-28 02:33:07 +03:00
levlam
2face56d10 Fix downlaoding of secure documents.
GitOrigin-RevId: 9884b4e6dbe669ba905e8f391f87a957e4928e53
2018-12-28 02:29:03 +03:00
levlam
9302481d93 Set download offset for encrypted files.
GitOrigin-RevId: 505d464839bc33e6a969b24dcaddab34863c5f7c
2018-12-28 01:48:21 +03:00
levlam
ca1503c22f Fix some includes.
GitOrigin-RevId: a57e47e5925fe1e96080945d40641c84b4e30669
2018-12-27 22:24:44 +03:00
levlam
71b1dbce7a Add FileEncryptionKey.cpp.
GitOrigin-RevId: d6c07f75fffd007afaeaec92016639f26fffc5c3
2018-12-27 21:38:43 +03:00
levlam
4c5c2422d3 Add FileEncryptionKey.h.
GitOrigin-RevId: e21c5ae48403835fb910e55545b64d6edf4f6651
2018-12-27 21:06:21 +03:00
Arseny Smirnov
86bf606666 Bitmask::encode bugfix
GitOrigin-RevId: 14b62438b50a9806f27d5e5c028a092cc517e6ac
2018-12-27 21:06:30 +03:00
levlam
aecbbf47f9 Output partial local in on_partial_download.
GitOrigin-RevId: 3f7177d704f4eaf7dec13e7bad13cb2b48da91e9
2018-12-27 20:46:28 +03:00
levlam
c252e9ceb5 Add source to try_flush_node.
GitOrigin-RevId: 7cf8c352d6d3c5158adb0ee867e52538075950d1
2018-12-27 20:23:19 +03:00
Arseny Smirnov
071e8b1d6d tdweb: 0.2.24 (unstable), automatic wasm streaming support, and experiments with private mode in firefox
GitOrigin-RevId: caafea864dc13fe881a90d3db19ddf442c3bd0ac
2018-12-27 20:27:26 +03:00
levlam
eb382c0d0b Support updateHavePendingNotifications in getCurrentState.
GitOrigin-RevId: b79d24241ce622b86e9e6eba00df489f25b3c91c
2018-12-27 19:53:12 +03:00