Commit Graph

238 Commits

Author SHA1 Message Date
levlam
cf452ce7c8 Support MESSAGE_NOTHEME and CHAT_MESSAGE_NOTHEME push notifications. 2021-09-08 14:39:39 +03:00
levlam
0ec10947d5 Fix some misprints. 2021-09-06 13:58:40 +03:00
levlam
532a0f4502 Add td_api::pushMessageContentChatChangeTheme. 2021-08-27 16:38:05 +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
2b7b6b7759 Improve logging on log out. 2021-06-27 05:52:43 +03:00
levlam
a6a4eb6616 Don't include SliceBuilder.h in logging.h. 2021-05-17 15:21:11 +03:00
levlam
290293766f Improve error message. 2021-03-29 21:43:50 +03:00
levlam
079c9919d2 Parse push_receiver_id as int64. 2021-03-29 16:23:50 +03:00
levlam
4df03c8491 Clamp float numbers before conversion to integers. 2021-03-28 22:33:22 +03:00
levlam
0339921102 Improve some spelling. 2021-03-15 03:32:14 +03:00
levlam
01f613f7bf Add user/supergroup.is_fake. 2021-01-21 13:40:22 +03:00
levlam
82f0386e73 Move some functions from misc.h to algorithm.h. 2021-01-01 16:01:03 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
192fd4862f Use td::unique. 2020-12-30 18:50:57 +03:00
levlam
ec61ef8093 Support document and audio albums in push notifications.
GitOrigin-RevId: afeefd5ae91bbcf44dc18ad0815afa9c23cea613
2020-10-20 13:21:09 +03:00
levlam
1fe397e43d Make optionValueInteger value int64.
GitOrigin-RevId: 7da1c4f051691ff7df31627115a9a37e6c5d5802
2020-09-25 00:46:16 +03:00
levlam
cb3f390a92 Unify "log event" spelling.
GitOrigin-RevId: a1a491981596c56dbf7541d80ead1ea9f5d5bd04
2020-09-22 02:15:09 +03:00
levlam
9a8895e043 Add get_log_event_storer convenience method.
GitOrigin-RevId: 0651bb08a5c41917b69836140e3ff512ab571571
2020-09-22 01:39:45 +03:00
levlam
f05b8cec61 Update layer 119. Add sender_chat_id.
GitOrigin-RevId: ac837165b7bbd57631456291503e688339e04d03
2020-09-08 22:08:10 +03:00
levlam
62c08e7f0a Handle video call push notifications.
GitOrigin-RevId: 680b4961aacd1714b0aa8d3ba60b04d7f5e6fea6
2020-08-06 21:29:40 +03:00
levlam
2e0d642a98 Update layer 116. Support new apply_min_photo and can_view_stats flags.
GitOrigin-RevId: beb72d22576496ac082bf4a564c292f9a678b0c1
2020-07-28 02:57:23 +03:00
levlam
4acf82c506 Add Photo.is_empty().
GitOrigin-RevId: 6dd6aeaaaa703f9cd865598d52b97eb64523fea0
2020-06-23 21:04:26 +03:00
levlam
ef04c17a89 Init photo ID to invalid by default.
GitOrigin-RevId: 072cd8bbd87267e086ed9a280ba5238e5e231a84
2020-06-23 20:50:16 +03:00
levlam
44cd25afae Force data loading on MESSAGE_MUTED.
GitOrigin-RevId: 1911c676b7c25fe4334c2ef1f1dc2395e39b27f9
2020-06-16 00:25:12 +03:00
levlam
8a95f1d21e Do not update unreceived notification update count if received duplicate group_id.
GitOrigin-RevId: 7856aef2ce0fc42ab76ffbb5e4fe1f613f933ad5
2020-05-31 02:13:00 +03:00
levlam
bcc8dbc158 Use Global::is_expected_error whenever appropriate.
GitOrigin-RevId: aba8ee6e3dc1ab6e680a5ae10f6c3d217ab0a8dc
2020-03-31 00:35:58 +03:00
levlam
b8848a2ab4 Simplify NetQuery creation.
GitOrigin-RevId: a01e72f8e196b405dd28dfd75d16cadc7127ec4a
2020-03-16 00:17:11 +03:00
levlam
c0c87e5560 Add notificationTypeNewPushMessage.is_outgoing.
GitOrigin-RevId: c7ef758bef2b49cd08cab73520c2814e039e2154
2020-02-29 21:42:02 +03:00
levlam
92df8f9827 Remove unneeded brackets.
GitOrigin-RevId: 0b8a2ae21d28e6c276db8b45ffb4d127800f5d73
2020-02-26 18:15:19 +03:00
levlam
c2526c67c8 Add sender_name to notificationTypeNewPushMessage.
GitOrigin-RevId: 6fd18136c30e23787e4c7e60ad8c8e81c12eebb3
2020-02-18 16:04:37 +03:00
levlam
9f82e847f3 Do not include MessageContent.h in MessagesManager.h.
GitOrigin-RevId: 7fb80f10bbc2a51a971b60ab470b6f9c8c249672
2020-01-27 16:10:59 +03:00
levlam
e6b209fb72 Support QUIZ push notifications.
GitOrigin-RevId: 34e2e7c364b2670861900ce8371534d0ab368afb
2020-01-21 04:29:35 +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
b16caabe8e Add device token debug.
GitOrigin-RevId: 451f00d33959eddbd73381775df19338945898d9
2019-12-30 04:34:59 +03:00
levlam
8e6623d3ea Remove expired notifications before recalculating last_group_key.
GitOrigin-RevId: 31723b071ffe0ebb0432aa7427f4537c51434a05
2019-12-30 00:20:25 +03:00
levlam
65b793e06a Add push notifications encryption key debug.
GitOrigin-RevId: e127ea2dcc17bc76a4e01aa7ea7230ca53a95dad
2019-12-29 04:39:05 +03:00
levlam
fa04e668f6 Better support for GEO_LIVE_PENDING push notifications.
GitOrigin-RevId: 7fb392ec0e6471a09a3b325db48531700204c039
2019-12-14 01:57:17 +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
8c495d99e6 Use TRY_RESULT_ASSIGN.
GitOrigin-RevId: 99b60b9044fab9357a3440aed7da55f146677e6b
2019-12-08 09:57:33 +03:00
levlam
3b1ab2ff8f Add scheduled-safe MessageId comparison operators.
GitOrigin-RevId: edc6481519510a425bcf3f08bb46eaac1c923ee4
2019-11-29 19:11:06 +03:00
levlam
099e767b6b Add ServerMessageId.h.
GitOrigin-RevId: f71d1f41f84c2263890875271f47f938e792aa55
2019-11-26 19:33:18 +03:00
levlam
7cdbd20ae0 Support new push notification keys.
GitOrigin-RevId: db45aeeab88d678b0ebef2b08368212a6fe7b89d
2019-11-21 23:48:52 +03:00
levlam
c5cc0e90f6 Update layer ro 106.
GitOrigin-RevId: 41e5db3d090559a7403accc8057c9957e6ead02d
2019-11-21 22:57:20 +03:00
levlam
918f6a0cfd Use td::contains and td::remove instead of std::find if possible.
GitOrigin-RevId: faa0863eb49ee8ce4c2138dfec022620f71d2f6a
2019-10-22 02:12:58 +03:00
levlam
ac60ef4c5a Do not allow recursive call to set_dialog_pinned_message_notification.
GitOrigin-RevId: 91db05f21ec2feb322efa9c9be5aa76b9f49ad3f
2019-10-23 21:53:26 +03:00
levlam
e37f7d1537 Add td::remove_if.
GitOrigin-RevId: d94733cbf251e8fc182c106f4cbf0cc84c0675a5
2019-10-20 01:51:17 +03:00
levlam
ee87414bab Fix misprints.
GitOrigin-RevId: e21e784c076005538ee889a61b12b8876567da13
2019-10-19 21:20:16 +03:00
levlam
0e2898b81e Add td_api::notification.is_silent.
GitOrigin-RevId: bab4a0c401913177b9fc794ee510c912be3f2727
2019-10-03 21:58:50 +03:00