levlam
|
74ea0750a1
|
Remove some pending notifications when messages was read.
GitOrigin-RevId: 75446642bb9ac7d5473271da0ec9aed6a224cbdd
|
2019-03-16 18:52:15 +03:00 |
|
levlam
|
845946be45
|
Add FlushPendingNewMessageNotificationsSleepActor debug.
GitOrigin-RevId: 5cca0228696b76cc2be4a0b036f95ade70bcba17
|
2019-03-16 17:27:12 +03:00 |
|
levlam
|
c6f96c617b
|
Improve debug logging.
GitOrigin-RevId: 08507bf19e76bf2cd1d4692c6d4941a042624ec7
|
2019-03-16 16:24:39 +03:00 |
|
levlam
|
2cd0a80e18
|
Fix removing last notification in remove_message_notifications.
GitOrigin-RevId: 9b3618fcbd3b780b24f76b3c7904bd5bc192dd8e
|
2019-03-16 15:58:05 +03:00 |
|
levlam
|
0bf312ffd5
|
Ignore MESSAGE_ID_INVALID in GetPollResultsQuery.
GitOrigin-RevId: 08083ab18dd4273e1967dbde5225f5999bc074bf
|
2019-03-16 05:32:02 +03:00 |
|
Arseny Smirnov
|
9f9d429832
|
SessionMultiProxy: use stats to choose session proxy for a query
GitOrigin-RevId: fea88659f3634685b1e0bb1a1c13e98f68d2e4a8
|
2019-03-15 21:37:01 +11:00 |
|
Arseny Smirnov
|
1785a965d5
|
SessionMultiProxy: collect stats about sessions
GitOrigin-RevId: 96720f7beca9d34897d8a1076639e58422eac770
|
2019-03-15 20:00:18 +11:00 |
|
levlam
|
be02d7e58b
|
Move mtime logging to files (maybe temporarily).
GitOrigin-RevId: 2d3bc002782e6df61a300e086dcbdc5affe7b393
|
2019-03-15 22:11:56 +03:00 |
|
levlam
|
a165305968
|
Set local online on some message history reads.
GitOrigin-RevId: 140ed8921bb53c6aabbe5acfe25147854b2f9b53
|
2019-03-15 22:09:42 +03:00 |
|
levlam
|
6209520db6
|
Decrease local online timeout to 30 seconds.
GitOrigin-RevId: c0a0a1c1b308898753a5d189e1bd43856412d411
|
2019-03-15 21:56:10 +03:00 |
|
levlam
|
6a9a931f29
|
Fix mtime comparison.
GitOrigin-RevId: ba6d77667478bdbb6297b449929b4adcd55c12a1
|
2019-03-15 21:52:54 +03:00 |
|
levlam
|
f20e40990e
|
Remove unused variable.
GitOrigin-RevId: 2f1d515fefb191dc364397ee36716d249d3af0fe
|
2019-03-15 03:47:09 +03:00 |
|
levlam
|
d6c5dda880
|
Fix spelling of inaccessible.
GitOrigin-RevId: d28c4c60c365cd453ec89d34519b75abaed169b5
|
2019-03-15 03:19:10 +03:00 |
|
levlam
|
0c89d34007
|
Use correct update date for typings; ignore too old typings.
GitOrigin-RevId: a1dc65a74bfbc8519591b0ca6739cf04ad58b2bc
|
2019-03-15 03:16:44 +03:00 |
|
levlam
|
3e0fb81e09
|
Bring users online locally after typing or sending/editing a message.
GitOrigin-RevId: 2bc4e0c29083f1dca6277498118f1dd6932ccda3
|
2019-03-15 02:29:36 +03:00 |
|
levlam
|
f0d6892453
|
Add get_user_was_online method.
GitOrigin-RevId: 64e6acd5295b4679f0badb33c419c727a4a2c57c
|
2019-03-15 00:57:09 +03:00 |
|
levlam
|
28fde94d49
|
Support updateChatOnlineMemberCount in getCurrentState.
GitOrigin-RevId: f529c293fd92d188eaca5daef33d25d7ef7a13aa
|
2019-03-14 22:59:07 +03:00 |
|
levlam
|
b29b0fa6cc
|
Trying to fix load_dialog_list_limit_max_.
GitOrigin-RevId: 7943a8e63d46534fa8ef7760403dfdebcf7c0adb
|
2019-03-14 22:50:02 +03:00 |
|
levlam
|
e7425d3fce
|
Possibly fix pinned message preloading.
GitOrigin-RevId: fff9d032e3674b2f7e6a2da06e3ae9bc8e8180ea
|
2019-03-14 22:34:36 +03:00 |
|
levlam
|
1a16f0ea9f
|
Add source to MessagesManager::have_message.
GitOrigin-RevId: 0354e12de9ca1316541b084a91b1810522ca44bd
|
2019-03-14 22:31:37 +03:00 |
|
levlam
|
664f230c1f
|
Add debug logging.
GitOrigin-RevId: ba81b89a53209dc4a619a1454cec424138ee407e
|
2019-03-14 22:25:23 +03:00 |
|
levlam
|
26ba56ffca
|
Fix removing new secret chat notification.
GitOrigin-RevId: 8be89f32889e6622e41232b206613a39a4f25080
|
2019-03-14 22:17:30 +03:00 |
|
levlam
|
8bc3ff622f
|
Support for unknown forward headers.
GitOrigin-RevId: 4073ce4d467e0e1bec90dcb6e4c7ec503e069e9d
|
2019-03-14 22:00:31 +03:00 |
|
levlam
|
6390bc9e0f
|
Add notifications debug.
GitOrigin-RevId: 4636723c713426f98ead095e7e14f097818c0155
|
2019-03-13 19:11:00 +03:00 |
|
levlam
|
c075f6da9a
|
Fix stopping local polls.
GitOrigin-RevId: b93d62aa04c2ee4fb2d3e1c0f697709552b028b0
|
2019-03-13 17:53:48 +03:00 |
|
levlam
|
07b24062d4
|
Fix supergroup members search.
GitOrigin-RevId: dc09991a69c2aed4fcbcee4b5851f858b5359585
|
2019-03-13 17:30:58 +03:00 |
|
levlam
|
706144361d
|
Fix updating chat online member count.
GitOrigin-RevId: 9b528ba5ea6524be13baddecabb692c96067caba
|
2019-03-13 17:18:40 +03:00 |
|
levlam
|
b6bce6b672
|
Fix updating member count in channels.
GitOrigin-RevId: bd79e392040c03e2c469cc77c3a1481464824aaf
|
2019-03-13 01:01:24 +03:00 |
|
levlam
|
3fb372f2e8
|
Fix warning.
GitOrigin-RevId: b868b965e8ce8c44540ace16ebde385b3def0076
|
2019-03-13 00:16:22 +03:00 |
|
levlam
|
692f9fcf1a
|
UpdateChatOnlineMemberCount fixes.
GitOrigin-RevId: ba2ab62da3e665e8e48427bd7607e423aa18e32f
|
2019-03-12 23:46:43 +03:00 |
|
levlam
|
3c61017d87
|
Remove unneeded channel participants cache.
GitOrigin-RevId: f5aaf86dc10499b08c05dfb756901a6a51d9abcc
|
2019-03-12 22:15:33 +03:00 |
|
levlam
|
e77a6d8397
|
Repair online member count in small supergroups by getting they member list.
GitOrigin-RevId: bf52347560b19668c302767498b63b55800f3779
|
2019-03-12 22:05:33 +03:00 |
|
levlam
|
9ff02e7435
|
Speculatively change cached supergroup member list.
GitOrigin-RevId: 7d908f39f10b8480310960c54ec2610febd0b018
|
2019-03-12 17:52:10 +03:00 |
|
levlam
|
a893653ba6
|
Pass list of members in speculative_*channel_participant.
GitOrigin-RevId: 765ef5abbb2a2c139810dda32aa1e2c1fe5e4009
|
2019-03-12 16:20:53 +03:00 |
|
levlam
|
e406d6ea41
|
Update dialog online member count when receive member list.
GitOrigin-RevId: e1178f3c5dabc183c80099d0e98e0c0d3cf56762
|
2019-03-12 14:52:37 +03:00 |
|
levlam
|
9aaae62fe3
|
Update channel administrator_count if full list of members is received.
GitOrigin-RevId: cff244ff217f96562f80bde84d80cdac6e75b53d
|
2019-03-12 14:03:33 +03:00 |
|
levlam
|
e72a2c881f
|
Return back poll data option values.
GitOrigin-RevId: 9c90be7c911b734fbb363332e1813cd526d98147
|
2019-03-12 13:06:50 +03:00 |
|
levlam
|
d4fb13d856
|
Update channel administrators and bots, whenever full member list is received.
GitOrigin-RevId: b0484ba4f93cc11e78b64f81412db494d821da62
|
2019-03-12 13:03:42 +03:00 |
|
levlam
|
d52472311b
|
Update administrator_count after getting administrators list.
GitOrigin-RevId: a94efd56f468c473c941b9c3f50369218925c695
|
2019-03-12 12:46:52 +03:00 |
|
levlam
|
3c8fd02d07
|
Add sanity checks for get_channel_participants results.
GitOrigin-RevId: 3bc0ac414e7b6ca18631528ff069564ac9862409
|
2019-03-12 12:38:37 +03:00 |
|
levlam
|
d3a82b449c
|
Update channel member count when receive member list.
GitOrigin-RevId: 6f5b2f90cbf0085b7ff68f80bf0529fbf3dc1bf3
|
2019-03-12 11:58:37 +03:00 |
|
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 |
|
levlam
|
60e5854fcf
|
Send updateChatOnlineMemberCount whenever dialog is opened.
GitOrigin-RevId: e85a9f04705da10e6b148d0d4c1b843241620c42
|
2019-02-26 03:41:49 +03:00 |
|
levlam
|
8795d002de
|
Add updateChatOnlineMemberCount.
GitOrigin-RevId: 3c4a21b924acc4c5ff9af66a4d8c9d13b6effd26
|
2019-02-26 03:24:33 +03:00 |
|
levlam
|
5d8f7569b6
|
Add logging.
GitOrigin-RevId: c58fb67d9332f83a9c39ac8f3b02dc25beb98629
|
2019-02-25 21:55:45 +03:00 |
|
levlam
|
f3be5d6534
|
Return PasswordState from confirming recovery email address methods.
GitOrigin-RevId: 0f897eeac6b09dd6edcfe1237226e7df7116a175
|
2019-02-25 21:37:26 +03:00 |
|
Arseny Smirnov
|
ffd7b166d9
|
PartsManager: fixes
GitOrigin-RevId: 7e4c663f53aa8b146cf9119ddf8e9fa680bb738b
|
2019-02-26 17:14:07 +03:00 |
|
levlam
|
e9ba66858d
|
Delay non-awaited combined queries.
GitOrigin-RevId: c6f444bf0b78892afd60ab0015f51afde1fc70c3
|
2019-02-25 20:44:28 +03:00 |
|
levlam
|
a2a864852d
|
Do not store empty promises in QueryCombiner.
GitOrigin-RevId: 5222075d6722008902b0337d2aee369aee0f005c
|
2019-02-25 19:27:06 +03:00 |
|
levlam
|
40ae8b9fd5
|
Disallow forwarding of local polls.
GitOrigin-RevId: a83397233c86ff791eda2c1cd39be77ee8488307
|
2019-02-25 19:19:01 +03:00 |
|
levlam
|
35d3be72f3
|
Add CHECKs in register_poll/unregister_poll.
GitOrigin-RevId: 5e87cf053b6b174dd20070a8a1b1d45874080ec7
|
2019-02-25 19:12:35 +03:00 |
|