levlam
|
43704b69e0
|
Assign correct correct_option_id.
GitOrigin-RevId: 1c20d8f27a0312805bb696da42d0d39b68f90fc6
|
2020-05-23 17:11:53 +03:00 |
|
levlam
|
eb9a3e7ca3
|
Ignore polls without answers.
GitOrigin-RevId: 6087b7b68e05c04bf26e017a1250c7aac6a2900e
|
2020-05-23 16:22:44 +03:00 |
|
levlam
|
c1555a0693
|
Improve logging on wrong poll_id received.
GitOrigin-RevId: 0740e1dbde312c17368a5182c9e2be57934fe70a
|
2020-05-17 17:14:09 +03:00 |
|
levlam
|
c9f12fe73f
|
Do not use SequenceDispatcher for poll stop by bots.
GitOrigin-RevId: a86c1ad6d852a14755813e8987702052a9d02113
|
2020-04-30 22:28:52 +03:00 |
|
levlam
|
1f58155cf1
|
Do not allow revote in a quiz.
GitOrigin-RevId: c6865a295b154fee3ba09d96691a7bc86ba4214e
|
2020-04-29 16:35:53 +03:00 |
|
levlam
|
777e26dd77
|
Really fix updating of closed polls.
GitOrigin-RevId: a32c186adb947b909fbdeb68a58d3b98fb8e33ec
|
2020-04-22 19:36:42 +03:00 |
|
levlam
|
d7efe13082
|
Fix updating poll after close.
GitOrigin-RevId: 44fc0a7c598cf38afd58d38ecd320cd0586fb076
|
2020-04-22 16:18:19 +03:00 |
|
levlam
|
38de2b016e
|
Never drop correct poll option and quiz explanation.
GitOrigin-RevId: 5cd600cd0bb1a5c4200eb74d62ace5da6425ca7d
|
2020-04-19 11:27:40 +03:00 |
|
levlam
|
06135cccf9
|
Add parameters offset and limit to getTrendingStickerSets.
GitOrigin-RevId: 360c14f4cd357d23c3537ab26ee55a5b5ed29e81
|
2020-04-18 01:55:54 +03:00 |
|
levlam
|
54279d23cd
|
Reget poll once after close.
GitOrigin-RevId: c92d691661bbdd63ca038fa2c35ed8ce04078c8c
|
2020-04-05 05:35:52 +03:00 |
|
levlam
|
16b372bbba
|
Automatically close polls by timeout.
GitOrigin-RevId: 708729b3bb75397716ce6df1bcc0a5a7019145bb
|
2020-04-05 04:31:59 +03:00 |
|
levlam
|
fda0fc0adc
|
Improve Poll.open_period field name.
GitOrigin-RevId: 733b05bbb08cece27ddba88875e9a8493e974081
|
2020-04-04 00:05:35 +03:00 |
|
levlam
|
4e7cd24285
|
Add support for quiz explanation.
GitOrigin-RevId: ab4346fe3abe5c5abd7234d5b4b3937e995494af
|
2020-04-03 23:39:50 +03:00 |
|
levlam
|
bb75ea35da
|
Update layer to 112.
GitOrigin-RevId: 9d18b24ce8aeb86624a61c04e55ca5b4a42634ce
|
2020-04-03 16:50:10 +03:00 |
|
levlam
|
1e4c1f16b9
|
Fix handling errors to setPollAnswer.
GitOrigin-RevId: 686a76db9a69d7c19bda0c07d294ce9a448d09d4
|
2020-04-04 02:44:25 +03:00 |
|
levlam
|
7932ea08eb
|
Invalidate list of poll voters if full list size is different from the expected total count.
GitOrigin-RevId: 544e9c4ae8b76bb10399c8370269940eb45a4684
|
2020-03-30 22:43:04 +03:00 |
|
levlam
|
b8848a2ab4
|
Simplify NetQuery creation.
GitOrigin-RevId: a01e72f8e196b405dd28dfd75d16cadc7127ec4a
|
2020-03-16 00:17:11 +03:00 |
|
levlam
|
24e2dcd590
|
Reregister edited scheduled messages.
GitOrigin-RevId: 72d2f5804fb6fb7dc5e4fb026dd1ef6640ee63f6
|
2020-02-26 16:26:25 +03:00 |
|
levlam
|
04a002d9f3
|
Add source to register_message_content.
GitOrigin-RevId: 035429321a0fa15ea8918c634b19f12c21fc1d61
|
2020-02-22 19:21:58 +03:00 |
|
levlam
|
c2bd1ef4b0
|
Minor.
GitOrigin-RevId: 297f9332431ae7b3e1b3578ea61e6a59d5cfd068
|
2020-01-30 01:50:28 +03:00 |
|
levlam
|
c36d45153c
|
Move resolve_dependencies to Dependencies.cpp.
GitOrigin-RevId: a14d38050af2a7d24f87642e63147642603a7ea5
|
2020-01-27 03:09:05 +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
|
c08084b1e6
|
Apply correct_option_id from closed min-poll.
GitOrigin-RevId: ef1641a295c1022ee6d4cec9a28e30927f25e85b
|
2020-01-24 04:43:19 +03:00 |
|
levlam
|
32b3a75676
|
Allow bots to send closed polls.
GitOrigin-RevId: 9ba80686140dd2a9d909a9f7add53a8cd69bea90
|
2020-01-21 18:09:15 +03:00 |
|
levlam
|
8350443093
|
Add limit to getPollVoters.
GitOrigin-RevId: 7f782124e111680b3b726685d6633e79f3d3b60f
|
2020-01-18 07:01:05 +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
|
fb215a0287
|
Fix quiz copying.
GitOrigin-RevId: f92b11f5327b7f6f67cb7e67ea7ee282a5f5cb23
|
2020-01-15 05:42:10 +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
|
3bcbda16b1
|
Ignore recent_voters for bots.
GitOrigin-RevId: 9a24c6b18364684a35a751a528cf332b69240de6
|
2020-01-14 06:14:47 +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 |
|
levlam
|
4e22f29c53
|
Add td_api::getPollVoters.
GitOrigin-RevId: 47ad78287433a2efb9b66f18a960e4de6060842a
|
2020-01-13 21:21:58 +03:00 |
|
levlam
|
f2211527db
|
Add support for recent poll voters.
GitOrigin-RevId: f4260d87ae4a22d56b2024c07713ceeb37203895
|
2020-01-12 04:40:17 +03:00 |
|
levlam
|
a7501e1582
|
Update layer to 109. Add new poll types.
GitOrigin-RevId: cc82f1bfdf1d4cd906212009f2dc8d84e0cb543a
|
2020-01-11 03:46:26 +03:00 |
|
levlam
|
3aaa58a8c0
|
Documentation improvements.
GitOrigin-RevId: 97c207980ea1265ebc5c4421a7bd22d77553f2f5
|
2020-01-06 21:44:09 +03:00 |
|
levlam
|
80c35676a2
|
Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
|
2020-01-01 04:23:48 +03:00 |
|
levlam
|
9948e41aed
|
Add support for scheduled message IDs in MessagesManager.
GitOrigin-RevId: b489f50556450a142427159a80d6488bf36622d1
|
2019-11-29 15:03:03 +03:00 |
|
levlam
|
c5cc0e90f6
|
Update layer ro 106.
GitOrigin-RevId: 41e5db3d090559a7403accc8057c9957e6ead02d
|
2019-11-21 22:57:20 +03:00 |
|
levlam
|
918f6a0cfd
|
Use td::contains and td::remove instead of std::find if possible.
GitOrigin-RevId: faa0863eb49ee8ce4c2138dfec022620f71d2f6a
|
2019-10-22 02:12:58 +03:00 |
|
levlam
|
dd3cc765ba
|
Ignore duplicate SetPollAnswer logevent.
GitOrigin-RevId: 93a75f66765c7e578ededa16b03d21385182db3d
|
2019-07-27 23:16:22 +03:00 |
|
levlam
|
02830797c9
|
Do not replace total_voter_count with 0 just in case.
GitOrigin-RevId: 632b4db2e0e94fb92c4846e5278f4457f9ccee46
|
2019-04-26 22:56:52 +03:00 |
|
levlam
|
138bf17da9
|
Fix total_voter_count in polls with hidden voters.
GitOrigin-RevId: e258662b9e3f0c69210a0a32ed30ae04bc5c599f
|
2019-04-26 22:44:47 +03:00 |
|
levlam
|
676be00c3f
|
Fix includes order.
GitOrigin-RevId: 04a9e7dc997353becdffcdf9e875fd5ca0e50660
|
2019-04-26 02:21:12 +03:00 |
|
levlam
|
59efe757b8
|
Add sanity check for upper total_voter_count value.
GitOrigin-RevId: 21184b5862f1d6ca75386393ac2ae41e66e45f47
|
2019-04-22 00:35:42 +03:00 |
|
levlam
|
f3acbcda34
|
Silence warning about wrong reply_to_message_id on message ID overflow.
GitOrigin-RevId: fd641f59568fab2dce3b02215f6d21d803950982
|
2019-04-22 00:09:49 +03:00 |
|
levlam
|
af39698707
|
Add reply_markup to stopPoll.
GitOrigin-RevId: 08cf68d42ecc6c25cd8ec7146fb7e3b1856a7207
|
2019-04-12 02:10:33 +03:00 |
|
levlam
|
b448160ad6
|
Send updatePoll for being closed polls.
GitOrigin-RevId: 3e2302d838e5d5dc03b0f6d5b164081b64b1c0eb
|
2019-04-09 13:25:29 +03:00 |
|
levlam
|
28717876ad
|
Improve get_binlog debug.
GitOrigin-RevId: 8c4480d6f60e792d8bd8a76001d0d9d931c743f6
|
2019-04-03 12:26:20 +03:00 |
|
levlam
|
3a2af5d4b1
|
Add TdDb::get_binlog debug.
GitOrigin-RevId: c1a155df722fbc8901f02875eabb00e857179914
|
2019-04-03 02:22:34 +03:00 |
|
levlam
|
715783e5bd
|
Do not hide poll results from bots.
GitOrigin-RevId: 7e44074e372c6487fb0ab0bd53bba64585b5ad07
|
2019-03-29 06:00:03 +03:00 |
|
levlam
|
93d5cc1a45
|
Add updatePoll for bots.
GitOrigin-RevId: b655c57e6643cef05654f3b73467a50c6bd0ac5d
|
2019-03-29 05:16:28 +03:00 |
|
levlam
|
84a513fe61
|
Add id to td_api::poll.
GitOrigin-RevId: ec6734822c930048bf6c742668a89072428cc127
|
2019-03-29 03:38:12 +03:00 |
|
levlam
|
ad6ee1ed94
|
Crash if someone tries to create a request handlet while closing.
GitOrigin-RevId: 95f188a0d4acf58e5c72d9ea3abc3145cf82026d
|
2019-03-18 01:51:43 +03:00 |
|
levlam
|
b5407cd6bc
|
Minor fixes.
GitOrigin-RevId: 39fb006dd5d935f6dd0b400114d71391463450eb
|
2019-03-17 23:43:58 +03:00 |
|
levlam
|
e17768bcc3
|
Fix applying poll answer.
GitOrigin-RevId: 1100874484111cf65f05f7254a131ab70fc3eecc
|
2019-03-16 23:48:00 +03:00 |
|
levlam
|
0bf312ffd5
|
Ignore MESSAGE_ID_INVALID in GetPollResultsQuery.
GitOrigin-RevId: 08083ab18dd4273e1967dbde5225f5999bc074bf
|
2019-03-16 05:32:02 +03:00 |
|
levlam
|
e72a2c881f
|
Return back poll data option values.
GitOrigin-RevId: 9c90be7c911b734fbb363332e1813cd526d98147
|
2019-03-12 13:06:50 +03:00 |
|
levlam
|
cda10ecd83
|
Fix applying results of setPollAnswer.
GitOrigin-RevId: 072da15baeefd13db4d0e188a51f2efff39d81f9
|
2019-03-11 19:06:53 +03:00 |
|
levlam
|
84060b6084
|
Regiater only server polls.
GitOrigin-RevId: e6ff1c4d7916a8ce07e45ae95a0458330c4ebcf0
|
2019-03-11 15:27:28 +03:00 |
|
levlam
|
438d39e4de
|
More fixes for getting results of being voted poll.
GitOrigin-RevId: a1a8b74d3fd42a1bb6b68e7e6fbd5a3a57026a40
|
2019-03-10 22:06:19 +03:00 |
|
levlam
|
7143ac4070
|
Fix vote percentage.
GitOrigin-RevId: 9e847cdd0d848f9b1cd29415af08b173fb27c2e1
|
2019-03-10 21:49:10 +03:00 |
|
levlam
|
2f61afab89
|
Add PollAnswer.is_being_chosen.
GitOrigin-RevId: 4465a640e3c4e687cb25f2dbf5705d00fe93d4c3
|
2019-03-10 14:03:19 +03:00 |
|
levlam
|
2e520364ad
|
Randomize poll polling timeout.
GitOrigin-RevId: 7b8980da0fc1193361b729189e663d9a89456e3b
|
2019-03-10 11:00:14 +03:00 |
|
levlam
|
ac95df0213
|
Ignore possibly outdated poll results.
GitOrigin-RevId: 3d4c8b4a429ba3933ca2e22f08aaefc62a3b1691
|
2019-03-10 10:57:15 +03:00 |
|
levlam
|
699bef0781
|
Return result of GetPollResultsQuery through Promise.
GitOrigin-RevId: fafc25acc4944066efb21f9dcc3000631fee0912
|
2019-03-09 21:07:07 +03:00 |
|
levlam
|
32ac05693b
|
Hide voter count in non-voted polls.
GitOrigin-RevId: d15190256271ad0e63ebaa83805778f8c8716df1
|
2019-03-06 00:12:04 +03:00 |
|
levlam
|
f6a3e9037f
|
Add vote percentage to poll options.
GitOrigin-RevId: e53ba947dc781a8db031f06bd69d03b9b9956f77
|
2019-03-05 23:21:10 +03:00 |
|
levlam
|
b9d73b5c47
|
More start_up and bots fixes.
GitOrigin-RevId: 1f72829332cea0b863cb7813b490782f0ed39db3
|
2019-03-05 07:35:17 +03:00 |
|
levlam
|
0b689bdc23
|
Add poll search text.
GitOrigin-RevId: a7da84edd364361186db1cf0807759b94b601f95
|
2019-03-03 06:36:30 +03:00 |
|
levlam
|
35d3be72f3
|
Add CHECKs in register_poll/unregister_poll.
GitOrigin-RevId: 5e87cf053b6b174dd20070a8a1b1d45874080ec7
|
2019-02-25 19:12:35 +03:00 |
|
levlam
|
e27354bf8a
|
Add sanity checks for polls voter count.
GitOrigin-RevId: dba4406f261609a78f4eddd32b93e94793fecc7b
|
2019-02-25 00:00:17 +03:00 |
|
levlam
|
812398ae7b
|
Fix registering polls in a just sent message.
GitOrigin-RevId: cea331e39437aa6376048fb78a569f3d908f7022
|
2019-02-24 23:49:55 +03:00 |
|
levlam
|
58f63d36d6
|
Fix includes.
GitOrigin-RevId: d633dc842591cd28a03f9fba6974a171926ed229
|
2019-02-22 23:15:43 +03:00 |
|
levlam
|
075874d729
|
Poll results polling.
GitOrigin-RevId: 3d70603f2f219f069e2784206adc5d7c7c96ff3f
|
2019-02-22 22:53:02 +03:00 |
|
levlam
|
168add9006
|
Add td_api::stopPoll.
GitOrigin-RevId: f2d9b5d42e267b9d06591450d69efb323639bb66
|
2019-02-22 18:09:55 +03:00 |
|
levlam
|
559aca6cec
|
Use the same poll options as in Android client.
GitOrigin-RevId: bb8527d1a67872686028c38c27352e2632eb9711
|
2019-02-21 22:37:15 +03:00 |
|
levlam
|
2e144e6e3e
|
Add setPollAnswer logevent.
GitOrigin-RevId: e73a3c5af859053fa9210eec2874077f47b00a12
|
2019-02-21 17:40:37 +03:00 |
|
levlam
|
4c6fc2be14
|
Cancel previous setPollAnswer query.
GitOrigin-RevId: aeffa84d6895199541f449d9e4c344b134d361e4
|
2019-02-21 15:42:54 +03:00 |
|
levlam
|
b852bd145f
|
Add td_api::setPollAnswer.
GitOrigin-RevId: 40c409ea8b4bba6d1ee0137a5cab8dca889d71dd
|
2019-02-21 15:23:05 +03:00 |
|
levlam
|
d22dfb2a0c
|
Rename poll answers to options.
GitOrigin-RevId: bcb2b9f6b29b58a3460df18773148eb426935664
|
2019-02-21 03:52:58 +03:00 |
|
levlam
|
bfaaf09b2b
|
Send updateMEssageContent about changed polls.
GitOrigin-RevId: bb61f466759ac27c687411861f8c7452cd5758ce
|
2019-02-21 01:54:31 +03:00 |
|
levlam
|
839c1856ff
|
Register polls.
GitOrigin-RevId: 812e3e699a578effab96c4d798d5b74ddf635371
|
2019-02-19 18:42:59 +03:00 |
|
levlam
|
9de3304ec4
|
Close failed to send polls.
GitOrigin-RevId: 6f9dcde4bbfcbc1fa63ed94641775007e3091706
|
2019-02-19 17:06:48 +03:00 |
|
levlam
|
5ef99afec7
|
Add messagePoll support.
GitOrigin-RevId: 41b93b2708285e4051fc01b856aa14a8c8c5c692
|
2019-02-19 16:45:32 +03:00 |
|