Commit Graph

578 Commits

Author SHA1 Message Date
levlam
62edae7df9 Fix removing new secret chat notification id.
GitOrigin-RevId: 9776544a20ccdb888e6d42497de99f38697a54a7
2019-03-18 22:51:24 +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
f9a0b34cb2 Disallow to report support accounts.
GitOrigin-RevId: 40657f51e7b4ca90e930b406d4903e132865babd
2019-03-17 18:09:28 +03:00
levlam
8fc712470e Add more notifications loading debug.
GitOrigin-RevId: 70c9f7859ddc5f232fba9302d20fc5426365accc
2019-03-17 17:45:37 +03:00
levlam
625359f18f Try repair failed to reuse notification group id.
GitOrigin-RevId: e7d5681c35f0f3838612c8f1ba0f2728d0f7b492
2019-03-17 00:35:00 +03:00
levlam
84878f9750 Add force to get_input_media.
GitOrigin-RevId: 4477e6cb08505aef269b5110e8ef4bbff04d0bd3
2019-03-17 00:07:10 +03:00
levlam
e24278903b Add check debug logging.
GitOrigin-RevId: 80365becdd9b3d51367a569334e624511f05cce2
2019-03-16 23:52:49 +03:00
levlam
52a250456a Fix secret chat notification settings init.
GitOrigin-RevId: 3e8891b287bdda1ea9e39400e44d9f477ba8dc58
2019-03-16 21:51:00 +03:00
levlam
6c1173d611 Add channel messages debug.
GitOrigin-RevId: 168f724d92d3ea48295216be6ce029439917b99c
2019-03-16 21:30:03 +03:00
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
a165305968 Set local online on some message history reads.
GitOrigin-RevId: 140ed8921bb53c6aabbe5acfe25147854b2f9b53
2019-03-15 22:09:42 +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
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
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
706144361d Fix updating chat online member count.
GitOrigin-RevId: 9b528ba5ea6524be13baddecabb692c96067caba
2019-03-13 17:18:40 +03:00
levlam
692f9fcf1a UpdateChatOnlineMemberCount fixes.
GitOrigin-RevId: ba2ab62da3e665e8e48427bd7607e423aa18e32f
2019-03-12 23:46:43 +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
1d369e1dca Fix upload priority fot thumbnails and profile photos.
GitOrigin-RevId: 12698756069a92707369a0efef1cd46f9e280758
2019-03-12 10:38:05 +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
2354a05602 Fix preloading of a previously pinned message.
GitOrigin-RevId: 2dd22b8522d94d443f8e97b54a3c2baf9d6eea63
2019-03-09 18:27:02 +03:00
levlam
8fcb64e579 Compare local settings in getChatNotificationSettingsExceptions.
GitOrigin-RevId: e0ad2683e85f1a2d74206da01dfc9e60248e611d
2019-03-05 17:15:17 +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
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
03de2b47e8 Send updateChatOnlineMemberCount with 0 after chat is closed.
GitOrigin-RevId: cb5c91783cc235b340f8274cfb76ffe0b68e474a
2019-03-02 22:18:40 +03:00
levlam
f8cc501d7a Increase message unload delay for bots.
GitOrigin-RevId: ef1de21396a719670cc67f3f90c56fafa5cb4d9e
2019-03-01 04:04:02 +03:00
levlam
a7a3d3c135 Fix creating postponed getMessage requests for pinned message.
GitOrigin-RevId: 8f5136516ef01962e52d72c14bc4f6bb58e8de75
2019-02-27 02:54:15 +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
812398ae7b Fix registering polls in a just sent message.
GitOrigin-RevId: cea331e39437aa6376048fb78a569f3d908f7022
2019-02-24 23:49:55 +03:00