Commit Graph

2691 Commits

Author SHA1 Message Date
levlam
129f96da69 Send updateMessageContent when WebPage is changed.
GitOrigin-RevId: 8e20fd788a4f5333f686d96241459774319ac8d7
2020-01-27 02:55:18 +03:00
levlam
9f2870a5a0 Do not send updates if web page is not changed.
GitOrigin-RevId: 4626b571aca295c6fd3d35f10a2494aafb34f581
2020-01-26 04:59:19 +03:00
levlam
eae92b214a Really fix too long TLS-proxy domain.
GitOrigin-RevId: a07726e8bb75b467d26043d6c9b4ad834a961567
2020-01-26 01:22:07 +03:00
levlam
182e8d29f0 New domain for DoH.
GitOrigin-RevId: 0ff1b52e9b8fade7ffa50e099789dcb3d12914ec
2020-01-25 23:36:49 +03:00
levlam
f2a4d70865 Register scheduled message contents.
GitOrigin-RevId: 1942ff1c3976ee24969d1c25a94fb89639ffa906
2020-01-25 04:00:43 +03:00
levlam
67e4871ea0 Add reregister_message_content.
GitOrigin-RevId: 53c250a8e805dba37dc4ee255472935762ee609a
2020-01-25 03:50:23 +03:00
levlam
3a78a9160b Improve logging.
GitOrigin-RevId: 0031ef075ec02edf1257674fa69412609eaec4d7
2020-01-24 16:43:37 +03:00
levlam
59f938405e Restrict proxy server name length.
GitOrigin-RevId: d2e18866ff7fd977655cf27c3295b716237d92c7
2020-01-24 15:57:28 +03:00
levlam
2f9db6e6e6 Improve error message.
GitOrigin-RevId: c61623277759527102a48d2e6b8992ee87c90beb
2020-01-24 06:33:47 +03:00
levlam
c08084b1e6 Apply correct_option_id from closed min-poll.
GitOrigin-RevId: ef1641a295c1022ee6d4cec9a28e30927f25e85b
2020-01-24 04:43:19 +03:00
levlam
970cbe1c97 Do not call get_active_live_location_messages while adding just loaded from database live locations.
GitOrigin-RevId: 078ed7af9e7f31eaf207751b25542c224c851f82
2020-01-24 01:16:18 +03:00
levlam
84ecdac7be Resave live location list if some locations expired.
GitOrigin-RevId: 35b949ff6735f4a060a1c7e4af6153eb607d1962
2020-01-24 01:14:43 +03:00
levlam
590e8efcb4 Improve logging.
GitOrigin-RevId: 1cef0e92ceb9cec005ebb693303d8fd808338771
2020-01-24 01:08:21 +03:00
levlam
1dfeb5d176 Fix updating server_time_diff.
GitOrigin-RevId: dfc1b558a4724a49daef145bc69f5a8f3d834124
2020-01-24 01:07:53 +03:00
levlam
6b1ef9d66d Fix SplitSource build.
GitOrigin-RevId: 8a59347e5f18e5774111c85be0ac5e6045eb59a9
2020-01-23 17:49:51 +03:00
levlam
d2763fdd58 Ignore inputMessagePoll.is_closed for non-bots.
GitOrigin-RevId: a83389a7ea330c53e4c578a0d21701f0550844b7
2020-01-23 03:53:58 +03:00
levlam
ab8752cd20 Fix assigning of min_access_hash and phone number of min-users.
GitOrigin-RevId: 88662f9efba97d7679af7950782a98afc75470e9
2020-01-23 02:56:08 +03:00
levlam
7bc9e93581 Always send video by bots using inputMessageVideo.
GitOrigin-RevId: eccc660e7c91139386a144db52c8f44719401bd2
2020-01-23 00:21:23 +03:00
levlam
32b3a75676 Allow bots to send closed polls.
GitOrigin-RevId: 9ba80686140dd2a9d909a9f7add53a8cd69bea90
2020-01-21 18:09:15 +03:00
levlam
8366da5ca1 Remove linked channel after receiving CHANNEL_PRIVATE.
GitOrigin-RevId: 50dd9ba04261c10d3f3dd13bda4c78357949d442
2020-01-21 16:15:32 +03:00
levlam
e6b209fb72 Support QUIZ push notifications.
GitOrigin-RevId: 34e2e7c364b2670861900ce8371534d0ab368afb
2020-01-21 04:29:35 +03:00
levlam
16bf911dde Update layer 109. TON-related requests was removed.
GitOrigin-RevId: 7b6cba050a43aab728928e145829a402a055df52
2020-01-20 01:52:46 +03:00
levlam
359153c212 Fix need_delete_file for outgoing messages.
GitOrigin-RevId: 51ac837238bec39b12caeb6cc2ec28e5ca6c8cc3
2020-01-19 04:55:15 +03:00
levlam
075b6f909f Recalc unread chat count after receive of first chats.
GitOrigin-RevId: a69510e2078d61647619b3d53505148d2005ce5c
2020-01-19 04:19:25 +03:00
levlam
8350443093 Add limit to getPollVoters.
GitOrigin-RevId: 7f782124e111680b3b726685d6633e79f3d3b60f
2020-01-18 07:01:05 +03:00
levlam
8ea7e4eccf Fix getMessageLinkInfo for messages in unknown public chats.
GitOrigin-RevId: 7c8b1e0d09d27d96afa930fe5101128c4084fb08
2020-01-18 02:20:28 +03:00
levlam
7d2eb31731 Do not apply correct_option_id from min Poll.
GitOrigin-RevId: f9a21119573ff591d1d710839a329ae916654b02
2020-01-17 20:29:56 +03:00
levlam
faef50b444 Increase approximate entities fix date.
GitOrigin-RevId: dac6e89c9804e74233316c62f23f01c64198965e
2020-01-17 03:13:18 +03:00
levlam
cde26abe1e Add and use can_have_input_media function.
GitOrigin-RevId: f40cb99154f6429f071dc9785f94a62322ef123e
2020-01-16 06:10:08 +03:00
levlam
4ec628fc78 Add Game::has_input_media.
GitOrigin-RevId: 13be31df3a93d495628f64d7cedc767a6e030a68
2020-01-16 05:18:06 +03:00
levlam
b9d1b80f6a Do not remove file reference from remote.id.
GitOrigin-RevId: 3c934cec452f4ca4147aa81711fcd0ac1fee964a
2020-01-16 05:09:25 +03:00
levlam
06eb99d4d0 Return back correct file_id version.
GitOrigin-RevId: 53572782a4f54512022ce8e065e546a850951302
2020-01-16 04:56:45 +03:00
levlam
cf019bb59c Clear invalid file references loaded from database.
GitOrigin-RevId: 12d060ea93146f62190d9fa97421a7931cf29b8d
2020-01-16 04:52:36 +03:00
levlam
66bd2bfe60 Return typings for users with hidden online status.
GitOrigin-RevId: 6794e84c2ad0b497901d95b10e7e787b02ecfaa7
2020-01-16 04:42:12 +03:00
levlam
7f4593e21b Simplify json_array usage.
GitOrigin-RevId: 991f180938424074b41a858b125268d5a10fc8ac
2020-01-16 04:32:02 +03:00
levlam
9b16d530fd Return accidentally deleted call to cancel_user_dialog_action.
GitOrigin-RevId: c069dfd631a28363ad4d5f237ac1628ef8c5eb5e
2020-01-16 04:08:54 +03:00
levlam
fb215a0287 Fix quiz copying.
GitOrigin-RevId: f92b11f5327b7f6f67cb7e67ea7ee282a5f5cb23
2020-01-15 05:42:10 +03:00
levlam
695782fa84 Disable back sending polls to saved messages.
GitOrigin-RevId: 7ad07014892a38c542c6c8ef8962c92a8afc3bd6
2020-01-15 03:13:15 +03:00
levlam
d6b87bd121 Fix TODO in can_resend_message.
GitOrigin-RevId: 87830112e4e9f711774615d0038271892958a191
2020-01-15 02:58:34 +03:00
levlam
7ffd9ad7c9 Move checks for Game message content in dup_message_content.
GitOrigin-RevId: e9d5ad1216c5178b4990b4f17bc5c808cd70cb6f
2020-01-15 02:44:24 +03:00
levlam
ebaea15679 Introduce MessageContentDupType.
GitOrigin-RevId: 06e0728b6853f0c7ec065a1b5eba8e448a8e9835
2020-01-15 02:11:26 +03:00
levlam
4317cc3ef5 Add content checks after dup_message_content.
GitOrigin-RevId: cba1a103b02381490561213391e95f0e4aa08d64
2020-01-15 01:45:59 +03:00
levlam
fa31f168b5 Update layer 109. Add keyboardButtonTypeRequestPoll.
GitOrigin-RevId: eae6bb600cef6eb4d9386c4dc2a762d065b1fa09
2020-01-14 20:18:35 +03:00
levlam
f3130ea7fb Update layer 109 scheme.
GitOrigin-RevId: 224d93e4569e849567554961da097c8dc84ab907
2020-01-14 17:16:36 +03:00
levlam
705af5fe73 Change fields order in Poll class.
GitOrigin-RevId: 40127abecdd1b9158c5646a5f93e33b4cf6f5b73
2020-01-14 08:30:15 +03:00
levlam
bbd401491b Simplify check_url.
GitOrigin-RevId: 5d00738d5eb8d7e18c9b462670e381720f1eda2c
2020-01-14 07:26:35 +03:00
levlam
3bcbda16b1 Ignore recent_voters for bots.
GitOrigin-RevId: 9a24c6b18364684a35a751a528cf332b69240de6
2020-01-14 06:14:47 +03:00
levlam
161b932256 Increase version to 1.5.5.
GitOrigin-RevId: 313abbdb9c746d7dac72427465025e5c8608deea
2020-01-14 04:38:15 +03:00
levlam
da4694bc81 New polls support fixes.
GitOrigin-RevId: f5421227029a8ae1f9284882e6f6221617002925
2020-01-14 01:51:03 +03:00
levlam
6d15cc7bf0 Add updatePollAnswer.
GitOrigin-RevId: 472f91830667f52317f03636f3ab2c37bca32d43
2020-01-13 22:56:59 +03:00