Commit Graph

94 Commits

Author SHA1 Message Date
levlam db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam 40c5d47717 Make inherited classes final if possible. 2021-07-04 05:58:54 +03:00
levlam edfa5d1d98 Use final instead of override. 2021-07-03 23:51:36 +03:00
levlam 52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam cb3f390a92 Unify "log event" spelling.
GitOrigin-RevId: a1a491981596c56dbf7541d80ead1ea9f5d5bd04
2020-09-22 02:15:09 +03:00
levlam f05b8cec61 Update layer 119. Add sender_chat_id.
GitOrigin-RevId: ac837165b7bbd57631456291503e688339e04d03
2020-09-08 22:08:10 +03:00
levlam c0c87e5560 Add notificationTypeNewPushMessage.is_outgoing.
GitOrigin-RevId: c7ef758bef2b49cd08cab73520c2814e039e2154
2020-02-29 21:42:02 +03:00
levlam c2526c67c8 Add sender_name to notificationTypeNewPushMessage.
GitOrigin-RevId: 6fd18136c30e23787e4c7e60ad8c8e81c12eebb3
2020-02-18 16:04:37 +03:00
levlam 80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam aee34460ef Support messages from scheduled in Push notifications.
GitOrigin-RevId: f2fb0c8553453f140083afdbd697aa2e420da4c3
2019-12-30 04:51:37 +03:00
levlam f0d3854462 Add simple group_key.last_notification_date sanity checks.
GitOrigin-RevId: d24887212101c976a2f25c203dbfff81caf12a74
2019-12-13 02:05:47 +03:00
levlam 0618005a95 Add FullMessageId.h.
GitOrigin-RevId: 758133149ff3317b3d9d3f86b1a841e8f34ca35a
2019-11-26 19:53:10 +03:00
levlam 0e2898b81e Add td_api::notification.is_silent.
GitOrigin-RevId: bab4a0c401913177b9fc794ee510c912be3f2727
2019-10-03 21:58:50 +03:00
levlam 55ea23b2fc Remove static functions from NotificationManager.cpp.
GitOrigin-RevId: 326ed290ac673b64ebaa390431c646be57bbd238
2019-09-08 02:27:12 +03:00
levlam adaf85ae70 Support SESSION_REVOKE push notification.
GitOrigin-RevId: 58ffab4a39bb36d973a064e8768d7a5e5dd56af9
2019-04-20 22:39:41 +03:00
levlam 896e44ac94 Add source to remove_notification.
GitOrigin-RevId: 217f967c61005275e5582ae0705b3b24fc8a73c2
2019-04-19 01:52:15 +03:00
levlam b1a1635ce7 Fix adding too new messages.
GitOrigin-RevId: 3874c25b07674608d8a4cef61cd4801ce6a5f115
2019-04-13 16:50:06 +03:00
levlam 88788b2460 Fix forcing updates in remove_notification_group after removal of temporary notifications.
GitOrigin-RevId: 93cc36bc85eb5f2ac5ec9e98a3766408f967544d
2019-04-10 23:54:03 +03:00
levlam 009c78ce5b More cases for temporary notification removal.
GitOrigin-RevId: 0f617980b80f94cc415fbda922c7462ca4675045
2019-04-10 23:22:03 +03:00
levlam 082ba9e020 Add document contents to pushMessageContent.
GitOrigin-RevId: 5baa4853f4e47d9f50f23ca74ebbed0369f17558
2019-04-09 23:39:41 +03:00
levlam 47d8d3223a Add photo and caption to pushMessageContentPhoto.
GitOrigin-RevId: 66a0cd47bf2dc7e8cba2f0d6d3a68151df2be20c
2019-04-09 17:33:27 +03:00
levlam 86471c5ff9 Send result of processPushNotification with a small delay.
GitOrigin-RevId: f2530099606505f4e3c4b3bbcde82b0bd762661c
2019-04-09 02:07:35 +03:00
levlam de87ddb108 Fix deletion of temporary message pusn notification by MESSAGE_DELETED.
GitOrigin-RevId: aaa259568e10ddfa58f8f0499cca0ebc49eae5d3
2019-04-08 03:04:05 +03:00
levlam e1a9630bd1 Support editing of notifications through pushes.
GitOrigin-RevId: 432555db5037bc3f1d5b4de21b0dac9dae24c923
2019-04-07 23:57:54 +03:00
levlam 9e2933337f Support MESSAGE_DELETED push notification.
GitOrigin-RevId: f35ce15d7dd2df17486960181d9c54b238abc179
2019-04-07 18:48:09 +03:00
levlam 3a2af5d4b1 Add TdDb::get_binlog debug.
GitOrigin-RevId: c1a155df722fbc8901f02875eabb00e857179914
2019-04-03 02:22:34 +03:00
levlam 39b83ebe07 Add source to NotificationManager::add_notification.
GitOrigin-RevId: e832fbe7ba970f18524e9937add84e341d528b10
2019-04-03 02:02:18 +03:00
levlam b5802e435f Send result to processPushNotification only after the updateNotificationGroup with the notification is sent.
GitOrigin-RevId: d7b814c0ae6ea0555444d9ec54a570e440889b67
2019-04-02 22:24:54 +03:00
levlam ed4b5ddbc8 Do not show again push message notifications, removed by remove_notification_group.
GitOrigin-RevId: 0037e3e3bbf9879defb1dd3eba7ae3b3fe79703f
2019-04-02 01:05:31 +03:00
levlam 96e7bba14a Do not keep more tha 1 pinned message notification.
GitOrigin-RevId: 8b0b8c56583dca6f84527ec957db08cc84cdc1e1
2019-04-01 03:02:19 +03:00
levlam e5da6a5017 Improve updateHavePendingNotifications.
GitOrigin-RevId: b4f3701ca9e75a05367d945f1693f742d7f27eb6
2019-03-31 17:13:29 +03:00
levlam f08382e36e Remove from binlog outdated temporary push notifications.
GitOrigin-RevId: 7ae29e312bbbe71c406d6c27576ad45537f33ea6
2019-03-31 06:00:40 +03:00
levlam 28351e8529 MAke push notifications persistent.
GitOrigin-RevId: 3cb231596e1f75a8157db48880e48f542c0b811d
2019-03-31 04:30:25 +03:00
levlam 8157f7e9ae Simplify process_message_push_notification.
GitOrigin-RevId: fe47e80dfaa1af38969bdf0c1532a083a7fd3d60
2019-03-31 01:02:13 +03:00
levlam bad2ee02a0 Add NotificationManager::force_flush_pending_updates,
GitOrigin-RevId: 4908bb2300613d8231b35093fbcfe87fe4d4b434
2019-03-31 00:38:18 +03:00
levlam e28d0eb3c0 Add td_api::notificationTypeNewPushMessage.
GitOrigin-RevId: 4708329ff77a23c82d7786d83f4e4c936c3dbee2
2019-03-30 23:49:14 +03:00
levlam 2facb494d3 Add new notification type for push notifications.
GitOrigin-RevId: 47c4527806cab7a43bf4375dc2a2aeeab02fc7c1
2019-03-29 00:08:57 +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 1e1b24dfb3 Ignore duplicate announcements.
GitOrigin-RevId: e09927a5dbae88001a6674e5155d1cffdb57e810
2019-03-26 22:32:07 +03:00
levlam ac5a716ffe Add push content basic checks.
GitOrigin-RevId: f6c436f578b5eac8799bb5f84ac2545c490814b3
2019-03-26 16:23:24 +03:00
levlam 89e5b00a95 More push notification parsing.
GitOrigin-RevId: df7da02f718aab0c9158d77f73744808f7597396
2019-03-26 03:57:38 +03:00
levlam 0f8b5f89dc Basic push notifications parsing.
GitOrigin-RevId: 1e7e955551831d1438826d1e5a860c24a6432f23
2019-03-25 06:35:01 +03:00
levlam c09d5dfbc2 Add logging for a CHECK.
GitOrigin-RevId: dadde241811ab890935ba24c7b3af937393d1185
2019-03-20 05:57:36 +03:00
levlam 063e8872df Fix notification usage for bots.
GitOrigin-RevId: 4645b1c91e5bb1e6a7ef5429efe690c52a8ee257
2019-03-05 06:01:49 +03:00
levlam fa89033923 Support getOption for "disable_contact_registered_notifications".
GitOrigin-RevId: 5bcfaab65cc7a25fcb8c99ceb8e6fe9c01b714e1
2019-02-14 19:21:54 +03:00
levlam ab2c23c220 Support server-sde setting for disable_contact_registered_notifications.
GitOrigin-RevId: 963ff137b495bf8784ac434ed76ee165fe918bfc
2019-02-14 18:25:31 +03:00
levlam d4997705e5 Minor fixes.
GitOrigin-RevId: ce3af62ed57a0d205e6270a950fa0a243afea118
2019-01-31 03:20:27 +03:00
Arseny Smirnov b481ce8465 NotificationManager: decrypt_push
GitOrigin-RevId: 9f623bf065d54f402ca824d40e0515111330b7a7
2019-01-29 19:16:52 +04:00
levlam 3aa95a20ef Notification settings for mentions.
GitOrigin-RevId: 54afec57ab351bcce98b51f06c2dc2769bc25f0f
2019-01-10 20:54:46 +03:00
levlam 42d59ba6b3 Add additional delay for somw service message notifications.
GitOrigin-RevId: 181e4e4d8eab72b161ae9cc1ab5961f80a0b5d99
2019-01-08 21:24:06 +03:00