Commit Graph

213 Commits

Author SHA1 Message Date
levlam
ed9e4baae8 Support per chat disable_pinned_message_notification setting.
GitOrigin-RevId: 775384f42d6f31ac983e40836a88b63c0eab1962
2019-01-10 03:47:33 +03:00
levlam
5b941456d2 Add td_api::getMessageLocally.
GitOrigin-RevId: 8b6dec4aadc0d9b1005444fe82a7db12cf1841a7
2019-01-09 05:57:43 +03:00
levlam
aaae105785 Safer ConfigShared.
GitOrigin-RevId: 505e66d4341c29bbc0b8801073997fafd8ddf820
2019-01-07 01:20:38 +03:00
levlam
5438119bb4 Fix Global.h and TdDb.h includes.
GitOrigin-RevId: 89fa1ee3e8071ad3f27687f79d1a52de113f9705
2019-01-06 22:59:17 +03:00
levlam
9cb950bc05 Update layer 85. Support hide_via_bot.
GitOrigin-RevId: 94fb988d50640f68019007249b8e4860ccea89af
2019-01-03 00:05:47 +03:00
levlam
8df8273c87 Fix td_api::joinChat.
GitOrigin-RevId: b03a7302e1c9639a37e44e43967dfe4331c8e439
2019-01-02 01:26:03 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
d327618102 Fix notifications handling for bots.
GitOrigin-RevId: aa80acf91ef74eb30e19aaadaf33b494f09236aa
2019-12-30 03:39:49 +03:00
levlam
ea3c65b3aa Add disable_pinned_message_notifications option.
GitOrigin-RevId: 42c12c98abf2bbfa6c41e67f8b5b0c2f9a3536e9
2019-12-30 00:35:19 +03:00
levlam
04fbc9ff48 Add pushReceiverId.
GitOrigin-RevId: 6beb6930eb456d94af50ed9455ee15df8ed36e20
2018-12-29 01:48:32 +03:00
levlam
dd5b8a87c2 Remove separate setFileDownloadOffset.
GitOrigin-RevId: b9588dbbc3929de9dba01c008bc18d1f36b24571
2018-12-28 20:38:37 +03:00
levlam
c0f19bf6fd Do not drop streaming offset in cancelDownloadFile.
GitOrigin-RevId: 9f8699e85ba82ec84c0e85f9510b691f72af0c47
2018-12-27 04:21:08 +03:00
levlam
8eb396ae87 Fix updateAuthorizationState on destroy.
GitOrigin-RevId: 584e09935420af73d049a7f9ca669a16f2205304
2018-12-26 22:04:46 +03:00
Arseny Smirnov
427110b811 Minor
GitOrigin-RevId: fc78a152bf587172f9c06a3b6af2030fcc6a4976
2018-12-26 19:35:07 +03:00
levlam
ac3fa705a2 File streaming fixes.
GitOrigin-RevId: 86c6d1394a31d6bb108a12e14f4d981133ece235
2018-12-26 19:11:15 +03:00
Arseny Smirnov
3b238f6fba Files streaming
GitOrigin-RevId: 78df1cd44c95380cd4af46f4db809ce28876db1f
2018-11-11 15:38:04 +04:00
levlam
e0b5189f70 Flush all pending notifications on closing.
GitOrigin-RevId: 52bd202389a98e4df9ca7a1e359270aeaa568b0e
2018-12-24 05:53:24 +03:00
levlam
4a0fcb95af Destroy all notificaitons on log out.
GitOrigin-RevId: ebd207054bcce3d1c09c36a77567ada50080dd39
2018-12-24 04:08:52 +03:00
levlam
59672cad10 Add dummy processPushNotification.
GitOrigin-RevId: 71136025e1a4ddce5ace64a34fef766d1b29f7d5
2018-12-24 03:12:59 +03:00
levlam
47c67479b3 Fix race in on_alarm_timeout.
GitOrigin-RevId: 0a940296688cf4b743c85fa4513504483cd357df
2018-12-18 10:43:28 +03:00
levlam
9d3ab75c56 Fix some spelling.
GitOrigin-RevId: 351e7c32fee3fb9249d561434ba1515082e757b0
2018-12-14 01:48:36 +03:00
levlam
eb18842279 Disable notification API by default.
GitOrigin-RevId: 2957f2d9e83073aa9d6ba01b95f6afb692b9b4b9
2018-12-12 05:10:47 +03:00
levlam
70ad4eb366 Add td_api::getApplicationConfig and td_api::saveApplicationLogEvent methods.
GitOrigin-RevId: 25e6a9fc0ebdc74313528b8a17ac26a7be79de4e
2018-12-10 22:08:58 +03:00
levlam
e2b8b72541 Add td_api::JsonValue support.
GitOrigin-RevId: b79580a42f72c195c7c76d213f277702ee035907
2018-12-10 04:01:02 +03:00
levlam
d772ab6de0 Support updateActiveNotifications in getCurrentState.
GitOrigin-RevId: a0fddcbbd4c54bf338b3e84d0355849e848c7524
2018-12-05 19:11:28 +03:00
levlam
95db580cd3 Fix calls to before_get_difference.
GitOrigin-RevId: 936f232a2e5300fcbf3c4e9c9e235a303fe59fe4
2018-12-04 15:50:57 +03:00
levlam
cb1d429eb2 Support removing notifications by max_message_id.
GitOrigin-RevId: 7841a68dcc05cb70910da0b28b93996c87782f4b
2018-11-20 17:08:44 +03:00
levlam
4ec3171d29 Remove logging of some static requests.
GitOrigin-RevId: 6781d147e8c98ae7ff729fed6ff7e34d1cdc9eaa
2018-11-20 16:23:35 +03:00
levlam
7ac17547be Remove notifications support.
GitOrigin-RevId: 89669ed19bba2d9556005422d003dec7df8cf252
2018-11-20 16:11:34 +03:00
levlam
c5c3b8c95a Implement updateNotification.
GitOrigin-RevId: 804e527cc2819e8fa6420d8a7ceea4ad6688a641
2018-11-16 18:00:46 +03:00
levlam
c53eaf92a7 Support notification related options.
GitOrigin-RevId: f6e5574fe1466f779995fb3e2914fa48ba844ffe
2018-11-16 01:03:04 +03:00
levlam
a86a9d2a00 Add support for updateNotificationGroup and delaying of updates.
GitOrigin-RevId: 28974259dcaf97d2ddc7b303c7609bd99b846089
2018-11-15 18:58:33 +03:00
levlam
0ca9b6493d Send to NotificationManager notifications about new/edited messages.
GitOrigin-RevId: 79647054a22e1376c8a69da180ba293300468ed6
2018-11-11 15:58:52 +03:00
levlam
4240b785a0 Strong typing for NotificationId and NotificationGroupId.
GitOrigin-RevId: 2fe55d97bac2fa689ddb6da855ce32f62362699a
2018-11-10 02:08:47 +03:00
levlam
4605f56d3c Add class NotificationType.
GitOrigin-RevId: 16951bb0dd0d13a1f3332449350fed4a4a1ef13e
2018-11-10 01:56:00 +03:00
levlam
5f23a99fca Add dummy NotificationManager.
GitOrigin-RevId: f8915918dfa91562b7acad45133c1c493affc896
2018-11-09 17:14:02 +03:00
levlam
e59261ee10 Notification API draft.
GitOrigin-RevId: bda9cf7fb68f21529550c5087461940f02a01006
2018-11-08 21:00:03 +03:00
levlam
be92820691 Use online_update_period_ms option.
GitOrigin-RevId: 8354e248ff424d4bed7eb474521bdd2c9685f522
2018-11-08 16:06:17 +03:00
Arseny Smirnov
7471e62740 Destroy authorization keys: fixes
GitOrigin-RevId: 9538efa2deadda91c18c1c97aa22281597a44d4b
2018-11-06 14:06:08 +03:00
levlam
ccd96d92f2 Fix option name.
GitOrigin-RevId: e7203a982032d7c9f2e53605e8a14a90b0f61d9f
2018-10-27 03:15:55 +03:00
levlam
1e1bc31d9e Add debug.
GitOrigin-RevId: 2a662b7db120e83ee2b2bd64c8b9ac701c619a89
2018-10-24 23:03:48 +03:00
levlam
44d21ecc4a New API for managing TDLib logs.
GitOrigin-RevId: 60f520027bf16f53b927c72d0151884fda64ebbc
2018-10-24 18:42:40 +03:00
levlam
4852e2940b Fix new verbosity level in td_api::testSetLogTagVerbosityLevel.
GitOrigin-RevId: 1c61e124f711c87cdfe76ef76e332785a59a9ed2
2018-10-23 17:01:56 +03:00
levlam
776ab59c8d Exclude sponsored chat from unread counts.
GitOrigin-RevId: 3bf1951938b6cf2c7f9a9e3b4c67554c8202f9fe
2018-10-14 02:51:35 +03:00
levlam
872cf6e10d Add local locking to FileFd::lock.
GitOrigin-RevId: 4ad3e15f9952b1c68c879182a0f10dd5cad270f3
2018-10-08 21:18:06 +03:00
levlam
2540555ae5 Remove source from get_my_id.
GitOrigin-RevId: 623c24323b55937866841c4b0f32b109c513983b
2018-10-08 17:21:56 +03:00
levlam
08f04112af Fix calling Localization methods before authorization.
GitOrigin-RevId: 49ab08469f8e67b788fdb8fbe8c28514dd85e488
2018-10-08 15:01:09 +03:00
levlam
4d8a832b7d Reduce more cpp source code interdependecies.
GitOrigin-RevId: e80ac4246299a5a3bf515977c24d281055fcadb6
2018-10-02 00:24:45 +03:00
levlam
5ad403a932 Move static functions from Td.cpp to Td::.
GitOrigin-RevId: f1388a1fa9e43165228eb5efc524401b9065f15f
2018-10-01 23:18:05 +03:00
levlam
43d8728829 Move some templates implementations to Td.h.
GitOrigin-RevId: e6068e9abd1f1f993a61cf0b1fe27bfab8fa64ec
2018-10-01 05:22:56 +03:00