Commit Graph

1662 Commits

Author SHA1 Message Date
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
376fda96d5 Fix SIGSEGV.
GitOrigin-RevId: 422a9080eaf83c0c35f90ec5044f2833de9837b9
2019-03-13 04:00:45 +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