Commit Graph

2286 Commits

Author SHA1 Message Date
levlam
4d72f8c14b Minor fixes.
GitOrigin-RevId: cc03c7e7a507fab2308495ea23f8ef9630a8142f
2019-08-30 04:56:01 +03:00
levlam
e18bce69a1 Register device after every restart.
GitOrigin-RevId: 2eed6eafb1f38a636603b16d400cc4f7505f8a0a
2019-08-29 03:40:18 +03:00
levlam
39e8379a86 Increase version to 1.4.2.
GitOrigin-RevId: 0b3dc7e227f564e4af4fd246cebfdc72353e48ec
2019-08-29 03:30:10 +03:00
levlam
b9ee9d0cf0 Use send_closure_later in timeout_callback just in case.
GitOrigin-RevId: ee1cee46052af875886477583cfc859503e73bcc
2019-08-29 03:16:49 +03:00
levlam
cea15d975a Use send_closure_later in on_user_online_timeout_callback to avoid accidental access to MultiTimoeut.
GitOrigin-RevId: b488a006dcbe17d661e18a6e578c08cd070b84ea
2019-08-29 02:17:52 +03:00
levlam
787e370002 Do not create empty PendingMessageGroupSend to not try to use it in on_upload_message_media_finished.
GitOrigin-RevId: 5210a6072b566d270ec1f3b65183d153adf47ea6
2019-08-28 03:39:47 +03:00
levlam
607f99e40d Fix sending games via bot.
GitOrigin-RevId: 41f71dba07c0d441660650a0f8a01c3f4a94d778
2019-08-28 03:01:15 +03:00
levlam
95c0b286a5 Merge always 'i' photo size to repair access_hash and file_reference.
GitOrigin-RevId: 0373f4ab6c13cc03d94a839d1191c50f8163618d
2019-08-28 02:13:47 +03:00
levlam
31e26a7004 Delete message files in all chats.
GitOrigin-RevId: 34981a807b217e657ff656940117ae9b38936fb9
2019-08-28 00:43:48 +03:00
levlam
f27dac69e1 Fix JSON spelling.
GitOrigin-RevId: ea2602f1e9a808ff1e28eb289936f9608aae7517
2019-08-26 05:06:00 +03:00
levlam
197acde4d4 Fix first letter case in error messages.
GitOrigin-RevId: 004d1535d3fb04e51a088ad43f2386dea05b7c9c
2019-08-26 04:53:22 +03:00
levlam
3306c42e89 Better public key generation.
GitOrigin-RevId: 1fd0b8e824620c90901168a2d12e97b92b76e37a
2019-08-25 01:02:39 +03:00
levlam
eaca53604a Fix MTProto-proxy usage with bots.
GitOrigin-RevId: ed82547b018fe34c5da6a9b3a98ecb9ed7b39049
2019-08-23 19:38:56 +03:00
levlam
ba5ae7229a Mark Bitmask::oompress const.
GitOrigin-RevId: 9dc12cb8b24afe5613e0dbdfca48da30da4c59b5
2019-08-23 19:25:07 +03:00
levlam
82f72d25ac Fix WebPageBlockPhoto::append_file_ids.
GitOrigin-RevId: 5bec98175c3502611fda3f8e168135c127794bdd
2019-08-23 18:31:34 +03:00
levlam
2027cb081b Use Document::append_file_ids.
GitOrigin-RevId: d877b3e75c68388ca34d72b6983528003ffd0ba0
2019-08-23 18:22:14 +03:00
levlam
19de122bea Add Document::append_file_ids.
GitOrigin-RevId: 309a322425278f09781897a8f7679ece73ecf055
2019-08-23 18:03:06 +03:00
levlam
219c35f007 Optimize key generation.
GitOrigin-RevId: e0958f470a15aa83066d20685c15a056d853a42a
2019-08-23 01:54:19 +03:00
levlam
d02f0ffba9 TlsInit: better X25519 key generation.
GitOrigin-RevId: b7efb4bfd1d285a54292e5733c855d7693419af1
2019-08-22 23:09:49 +03:00
Arseny Smirnov
e1046570a3 FileUploader: fix race with partial location deletion
GitOrigin-RevId: fa3cd8ca2cd5b376d557242a6b5f296dc09c90f4
2019-08-20 10:42:21 +03:00
Arseny Smirnov
24f31ad888 FileManager: download big files with unknown size
GitOrigin-RevId: 3f4246f2d61127015138a32f2e93c8f932a81c50
2019-08-19 12:31:25 +03:00
levlam
08f13c203f Fix misprint.
GitOrigin-RevId: ab452b413cf6c9f32ad0a882ab8b3ae826babd2f
2019-08-18 15:24:51 +03:00
levlam
e0d3ad91c5 Do not treat ChatFull without participants as outdated in inactive chats.
GitOrigin-RevId: 5ad01d20dd1b655cfd2ed08f4de20a7d958d8e38
2019-08-16 03:38:53 +03:00
levlam
67f427af73 Allow to resend messages, which failed to send, because they are too old.
GitOrigin-RevId: d9cbfb1433580e3214d81dac443b1d5ba43f818f
2019-08-16 02:59:03 +03:00
levlam
25d4e27b3d Add persistent real_forward_from_message_id.
GitOrigin-RevId: a1272a710019de980f3b678256fd82f3c7b83242
2019-08-16 02:50:22 +03:00
levlam
afae30a32d Fix ChatFull invalidating.
GitOrigin-RevId: 34ae7377315701b5e8d0a877686499f1670b529d
2019-08-16 02:45:42 +03:00
levlam
7435cab3af Update 777000's profile photo.
GitOrigin-RevId: c5f7cd801640947e5418aafbb28cb8fa7747ca17
2019-08-15 23:46:58 +03:00
levlam
617a398efa Message resend fixes.
GitOrigin-RevId: 6233a854c75e0d51f2a3e6bb21448608d934bbc3
2019-08-15 22:11:06 +03:00
levlam
dca95edf27 Add test_flood_wait option.
GitOrigin-RevId: 46cdd7db52a54f47380ae21a9457aad6e95dcc61
2019-08-15 22:10:42 +03:00
levlam
78601ac8b4 tg_cli: add resendMessages.
GitOrigin-RevId: 3a1b3db6ae23eff915b548221441f7f730c7c185
2019-08-15 18:36:27 +03:00
levlam
9007f106b9 Update layer 98. Support for legacy messages flag.
GitOrigin-RevId: b10c8b60b7fbdfdbf8ab15e65ed32f1daa6c9ad2
2019-08-15 18:16:09 +03:00
levlam
7fdd8c5139 Fix setting store_all_files_in_files_directory option.
GitOrigin-RevId: 3eecd1b8447c62df92829a7ce0586a2a6b93c090
2019-08-14 03:37:09 +03:00
levlam
84695437d3 Various fixes.
GitOrigin-RevId: 94d0df55495a08b5599c90f56dbe08ac3a3d65e5
2019-08-14 03:13:34 +03:00
levlam
bb24ec0629 Fix tdutils after merge.
GitOrigin-RevId: 3eceb2e574a737a78dc5414e535e416c86d23f7a
2019-08-13 23:52:54 +03:00
Arseny Smirnov
e07b03dea3 tdweb: experiments with storing incoming files into indexeddb
GitOrigin-RevId: 7ab38676faaf5eb4e8b4c43b05c268d0ea2784de
2019-07-24 15:07:55 +03:00
levlam
1726e10a8a Delete messages in inaccessible chats only in channels.
GitOrigin-RevId: cddc5bcd03cd215e2436fc7d411d85593aa557d7
2019-08-13 16:58:34 +03:00
levlam
378b1df843 Add td_api::resendMessages.
GitOrigin-RevId: 41c14a76aaf05745592328909e47efd5feca2437
2019-08-11 04:05:00 +03:00
levlam
ee3921f959 Save real_forward_from_dialog_id between restarts.
GitOrigin-RevId: 3282a9f703ec8b9b8d6cccfb088cf5ceaad8202a
2019-08-11 03:20:16 +03:00
levlam
cbd4b2a8a4 Add MessagesManager::generate_new_media_album_id() method.
GitOrigin-RevId: 1a0c71404b09585f66728ea494a8bd920795664c
2019-08-11 02:10:21 +03:00
levlam
611878f098 Add is_bot_start_message flag.
GitOrigin-RevId: 02725fba5857f1e8212b998eaf3c33006382fddb
2019-08-11 01:23:34 +03:00
levlam
d7be30f658 Save hide_via_bot flag.
GitOrigin-RevId: 0bf270274f8bd85fa50b1126e4850cdb35dfc5a7
2019-08-11 01:10:01 +03:00
levlam
c045fce56a Add information about failed to send messages.
GitOrigin-RevId: a4cb3669b5cf478a2e2f5ca1ecf2ea9c5f3ef5cc
2019-08-11 00:14:35 +03:00
Arseny Smirnov
5a032743e6 Fix errors from tdutils import
GitOrigin-RevId: 3709df12a3050cf05e2bb482b49490a4e874f075
2019-08-12 16:53:17 +03:00
Arseny Smirnov
7a863daa50 DialogDb, MessagesDb: bugfix - call promises only after transaction is commited
GitOrigin-RevId: 650db002f60fc4af3131935973d8f2b0d3040d1b
2019-08-09 21:30:01 +03:00
levlam
3bca7b1448 Add send_copy to inputMessageForwarded.
GitOrigin-RevId: 7327021564789e8ff436e2f56f243684b7ce8183
2019-08-09 20:28:49 +03:00
levlam
c71dbc28a0 Add send_copy parameter to forwardMessages.
GitOrigin-RevId: 059f992cc8b9c6ae1c6ab3910ffc52b906d12e88
2019-08-09 17:41:26 +03:00
levlam
1685d77455 One more transaction.
GitOrigin-RevId: fde1d2448aad24ee0487377e353b6bc3f0fca240
2019-08-08 18:37:16 +03:00
levlam
f7bbcab502 Use transaction in get_message_notification_group_force.
GitOrigin-RevId: 7573d95313559ce10acce1e701a83fcb26d558df
2019-08-08 18:31:46 +03:00
Arseny Smirnov
87e6f6cc59 Trying to fix ConfigRecoverer closing
GitOrigin-RevId: 017d45256e9fffb728cbe2abc175ab5b796265de
2019-08-09 15:14:07 +03:00
levlam
ef5c2ea722 Fix warning.
GitOrigin-RevId: 7fbd0b38862a906e0b3fe0b2acee7eb34175434a
2019-08-07 05:04:55 +03:00