Commit Graph

598 Commits

Author SHA1 Message Date
levlam
5d180c55de Do not repeat notification with sound for already received through push notifications messages.
GitOrigin-RevId: 7527122f71b1b24683d283e3da894571c9b78356
2019-03-31 18:33:01 +03:00
levlam
c93cfe5df6 Allow to reply yet unreceived server messages.
GitOrigin-RevId: 0796acda7ab15c8f2a37404daabf42b6d634768a
2019-03-31 06:11:35 +03:00
levlam
f08382e36e Remove from binlog outdated temporary push notifications.
GitOrigin-RevId: 7ae29e312bbbe71c406d6c27576ad45537f33ea6
2019-03-31 06:00:40 +03:00
levlam
ae8310907a Support reading history from push notifications.
GitOrigin-RevId: 6f901b7927e272b345d25d3ba4b54e0dec5074cf
2019-03-31 00:30:07 +03:00
levlam
508889fadf Store sender_user_id in message push notification.
GitOrigin-RevId: e6dbf304266c63a92e5949a1ee48444f8c0e958f
2019-03-30 17:59:35 +03:00
levlam
29d745c87e Push notifications handling fixes.
GitOrigin-RevId: da34e59128b23a7cedcfc8c7a7f64a4c9b5066fe
2019-03-29 17:04:42 +03:00
levlam
aa9781bd71 Output exact reason when push notification is ignored.
GitOrigin-RevId: 5d1f99af1e767f79d4a66329c9ffb812e7c9e6cb
2019-03-29 15:26:08 +03:00
levlam
8c8fd71029 Add td_api::messageForwardedFromHiddenUser.
GitOrigin-RevId: 1b3c79ad6bbfcee18d8138580ebc15bf12ad2185
2019-03-29 04:43:01 +03:00
levlam
2facb494d3 Add new notification type for push notifications.
GitOrigin-RevId: 47c4527806cab7a43bf4375dc2a2aeeab02fc7c1
2019-03-29 00:08:57 +03:00
levlam
1c47a8aa78 Update layer 91. Add revoke to deleteChatHistory.
GitOrigin-RevId: a6190c72e82994f21669684b2af227d2cfbed794
2019-03-27 23:17:41 +03:00
levlam
2e2a693284 Change default values of message revoking parameters.
GitOrigin-RevId: d349aa177d24fc7227a9d5b966a2e578cc9ebe42
2019-03-27 22:03:47 +03:00
levlam
ad2690b2a6 Better force_update in remove_dialog_mention_notifications.
GitOrigin-RevId: bf18d62c801ff705ba93ea6d56ee69f7b186f30c
2019-03-27 03:10:24 +03:00
levlam
5d00a38046 Do not delay notification removal updates requested by the user.
GitOrigin-RevId: 7ca24f9da47239c9596e0bec1143b15ae8327bac
2019-03-27 01:07:32 +03:00
levlam
29e7c2b690 Add need_message_push_notification.
GitOrigin-RevId: 05ea09c326cc779b3eb57e574f6bdb8771bbb239
2019-03-26 18:05:53 +03:00
levlam
6cebe30382 Find entities in MESSAGE_ANNOUNCEMENT.
GitOrigin-RevId: 3ca4500dea9ba0f3561470416db21bc1cc42616a
2019-03-26 01:24:23 +03:00
levlam
6235ec62b0 Add MESSAGE_ANNOUNCEMENT support.
GitOrigin-RevId: 754a484735c1a7366796181b715d0e79f91a77c1
2019-03-25 17:35:37 +03:00
levlam
ffd9f89326 Completely disable notification about registered contact by the corresponding option.
GitOrigin-RevId: 7f3b9f6c6cb997637c969d1450640161058099db
2019-03-20 06:02:19 +03:00
levlam
f8162c04e2 Add more debug.
GitOrigin-RevId: e1c7ee0a8487cfaac2d68557500acb8ee4d2c101
2019-03-19 16:13:17 +03:00
levlam
523c5a073b Add more debug logging.
GitOrigin-RevId: 7bb9dbcb89adbef816f41fbcf9f20e9bd0a7d48b
2019-03-19 02:33:53 +03:00
levlam
e3c7684c13 Add input_media != nullptr debug.
GitOrigin-RevId: 59c8746a65112aa8d3fb085bf3720fd90bd0eb5e
2019-03-18 23:02:39 +03:00
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