Commit Graph

1537 Commits

Author SHA1 Message Date
levlam
1d369e1dca Fix upload priority fot thumbnails and profile photos.
GitOrigin-RevId: 12698756069a92707369a0efef1cd46f9e280758
2019-03-12 10:38:05 +03:00
levlam
457650ed74 Add update_dialog_online_member_count method.
GitOrigin-RevId: 5195f98ab61692355fce12e5ac804cdb2ff66d1a
2019-03-12 03:46:44 +03:00
levlam
cda10ecd83 Fix applying results of setPollAnswer.
GitOrigin-RevId: 072da15baeefd13db4d0e188a51f2efff39d81f9
2019-03-11 19:06:53 +03:00
levlam
2a8b6abebc Fix call to get_channel_difference.
GitOrigin-RevId: ff64cd9b89385ed05b67916b4804554e5e299c9b
2019-03-11 17:44:37 +03:00
levlam
3d288d8e9b Possibly fix recursive calls to add_message_to_dialog.
GitOrigin-RevId: c9ec21278582bc91beb6e2815f16b2f89673f587
2019-03-11 17:40:19 +03:00
levlam
1046d02628 Add source to get_message_force.
GitOrigin-RevId: 889869e4ddee259c1acf1f4ddd40bbeeb06a5aa3
2019-03-11 16:06:21 +03:00
levlam
84060b6084 Regiater only server polls.
GitOrigin-RevId: e6ff1c4d7916a8ce07e45ae95a0458330c4ebcf0
2019-03-11 15:27:28 +03:00
levlam
6da8565b7b Add CHECK debug.
GitOrigin-RevId: c967e0cd0270200c9202afbc98ec8270664a9211
2019-03-11 15:15:57 +03:00
levlam
c4d114a70c Fix chat list perloading in get_dialog_notification_settings_exceptions.
GitOrigin-RevId: b4dcf2a1ab0a021acbe976d821668cbdc6bdccbd
2019-03-11 15:09:55 +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
8476dd88af Update layer 91.
GitOrigin-RevId: 0374bd4e7e4aa9587dc5ceb6b3ecba4f09c03517
2019-03-10 21:30:15 +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
3d56c6dac0 Lowercase server language packs code.
GitOrigin-RevId: f1736814fb9d4f6960d6beb5cefebedbabe93183
2019-03-09 19:45:45 +03:00
levlam
dc06fcb7fb Do not count deleted users and bots in online member count just in case.
GitOrigin-RevId: 9c4b5fd5df66b8e963b5ae64dd01a6d9e1b4adc6
2019-03-09 18:32:43 +03:00
levlam
5707d5b277 Handle null static requests.
GitOrigin-RevId: 4247e69ad556693fdc0084b244c4bb9804a8cc1a
2019-03-09 18:30:25 +03:00
levlam
2354a05602 Fix preloading of a previously pinned message.
GitOrigin-RevId: 2dd22b8522d94d443f8e97b54a3c2baf9d6eea63
2019-03-09 18:27:02 +03:00
levlam
87eaeb2db2 Fix division by 0 in Bitmask::get_ready_prefix_size.
GitOrigin-RevId: c16d3a9a2622d31c3ab186c350d67466e4d99bdc
2019-03-09 17:31:52 +03:00
Arseny Smirnov
347a22858c Files: fixes
GitOrigin-RevId: 5469a6c26fbb187fd52ddaf1c8bacfae4ddddbe9
2019-03-10 12:31:24 +11:00
levlam
65f0f78574 Deprecate Log methods in C++ and JSON interfaces.
GitOrigin-RevId: d327c2400432b309d52ed23b04e47ba6adb46682
2019-03-07 01:28:35 +03:00
levlam
48077eb861 Fix setting disable_top_chats option before logging in as a bot.
GitOrigin-RevId: 0fee9765a3bdcc56dd81a7e75b2dc2e9745a70bb
2019-03-06 01:06:33 +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
8fcb64e579 Compare local settings in getChatNotificationSettingsExceptions.
GitOrigin-RevId: e0ad2683e85f1a2d74206da01dfc9e60248e611d
2019-03-05 17:15:17 +03:00
levlam
0a04a466ef Send updateChatOnlineMember count when a member goes online or offline.
GitOrigin-RevId: e58d65fb71ce4b2a407101e2a494da05106b0b9f
2019-03-05 15:49:10 +03:00
Arseny Smirnov
986ce38998 PartsManager: recalc streaming_ready_size_ when streaming_offset changes
GitOrigin-RevId: e2b82154cbf9ef1f1bf4ed322f518eb0f4ead0cc
2019-03-05 10:48:50 +03:00
levlam
b9d73b5c47 More start_up and bots fixes.
GitOrigin-RevId: 1f72829332cea0b863cb7813b490782f0ed39db3
2019-03-05 07:35:17 +03:00
levlam
285b590058 Disable online member count calculation for bots.
GitOrigin-RevId: a53e92a44fab9375c9af318c08d119d398e2e0a6
2019-03-05 07:00:18 +03:00
levlam
8bb1747ef6 tg_cli: fix gmf.
GitOrigin-RevId: 3b6fe4514fc06bf65ce1200ab9f2f8603c65ef90
2019-03-05 06:45:14 +03:00
levlam
063e8872df Fix notification usage for bots.
GitOrigin-RevId: 4645b1c91e5bb1e6a7ef5429efe690c52a8ee257
2019-03-05 06:01:49 +03:00
levlam
d038c6b5c4 Update Chat online member count on any participants change.
GitOrigin-RevId: 6049a003d73e86d2bb30b9364a07aa3050be3a7f
2019-03-05 05:18:31 +03:00
levlam
b20d9ba6d6 tg_cli: add gmf.
GitOrigin-RevId: 6fb0ca0dc371e650bc42f6bd86601ae9d1720a26
2019-03-05 02:06:48 +03:00
levlam
1ee2b63230 Fix streaming_ready_size_ calculation.
GitOrigin-RevId: 62ad330749e88188697de7f23b525ac9e426d780
2019-03-04 00:37:25 +03:00
levlam
0b689bdc23 Add poll search text.
GitOrigin-RevId: a7da84edd364361186db1cf0807759b94b601f95
2019-03-03 06:36:30 +03:00
levlam
dd7af98c8e Fix seqrch query truncating.
GitOrigin-RevId: 2c0ae82d21a0faf248bc6f0fc428b567fc66b031
2019-03-03 04:23:57 +03:00
levlam
03de2b47e8 Send updateChatOnlineMemberCount with 0 after chat is closed.
GitOrigin-RevId: cb5c91783cc235b340f8274cfb76ffe0b68e474a
2019-03-02 22:18:40 +03:00
levlam
a4ab41f8f8 Fix warning.
GitOrigin-RevId: 0f21169fe0d8b0ea5417f6e2a516d36f46502963
2019-03-01 16:09:06 +03:00
levlam
f1419395df Add user.is_support flag.
GitOrigin-RevId: 6c1774d309eefdb20e75e2b01e07a4738efcde81
2019-03-01 05:35:01 +03:00
levlam
f8cc501d7a Increase message unload delay for bots.
GitOrigin-RevId: ef1de21396a719670cc67f3f90c56fafa5cb4d9e
2019-03-01 04:04:02 +03:00
levlam
8edd3b3811 Fix adding thumbnails to file_ids list.
GitOrigin-RevId: 880d7b1720050685b502925aa281c6de4945e1fb
2019-02-28 21:40:57 +03:00
Arseny Smirnov
604547adc8 FileManager: fixes
GitOrigin-RevId: fd6071262f55fb803f67359b9f7e5075fcec862e
2019-02-27 19:00:10 +03:00
Arseny Smirnov
66c604f2d4 FileMananger: do not store file reference is persistent file id
GitOrigin-RevId: 6da317bcac575ed4398a8971229250c0948ee097
2019-02-27 18:08:24 +03:00
levlam
a7a3d3c135 Fix creating postponed getMessage requests for pinned message.
GitOrigin-RevId: 8f5136516ef01962e52d72c14bc4f6bb58e8de75
2019-02-27 02:54:15 +03:00
levlam
80edd0b059 Add UTF-8 checks for user names after they are loaded from database.
GitOrigin-RevId: e99c0b2a60791c683ad4c72b224cf6123598f756
2019-02-27 02:41:16 +03:00
levlam
0bf5825c01 Fix set_download_limit.
GitOrigin-RevId: 4f4e77bde657d6586ffbe861e1affc6b3c14d4a2
2019-02-27 00:42:54 +03:00
levlam
bb5ffc0c8c Channel statistics support.
GitOrigin-RevId: 39d17de81087c9789b6c717cf1ed5f01edc6360b
2019-02-26 23:37:59 +03:00
levlam
f1519230c9 Update member online count from time to time.
GitOrigin-RevId: 8b9e0f4d922a17c0f14755289a25e91b1ab4c6fc
2019-02-26 18:24:46 +03:00