Commit Graph

1664 Commits

Author SHA1 Message Date
levlam
61b770c5a7 Add ContactsManager::after_get_difference.
GitOrigin-RevId: 9fdea971dd5320da59b0aaeba45bff0c3ea2fc0e
2018-12-12 06:00:11 +03:00
levlam
0eff518c4e Add StickersManager::after_get_difference.
GitOrigin-RevId: ba5502e640aa704267c97b7b995405375134547b
2018-12-12 05:55:08 +03:00
levlam
ca71a74e82 Add AnimationsManager::after_get_difference.
GitOrigin-RevId: 922833b018cee48ff08ff98c98dc325a2d4e2d2f
2018-12-12 05:47:20 +03:00
levlam
3791b38296 Better compile-time dispatching on function type.
GitOrigin-RevId: 2687fa402c9c76ad654bdad0759893dc6df6262e
2018-12-12 05:26:52 +03:00
levlam
d0f8450726 Trying to repair broken messages in the database.
GitOrigin-RevId: 1720ff9641329b1b027dc2529f0b8df8e9124dae
2018-12-12 05:22:26 +03:00
levlam
eb18842279 Disable notification API by default.
GitOrigin-RevId: 2957f2d9e83073aa9d6ba01b95f6afb692b9b4b9
2018-12-12 05:10:47 +03:00
levlam
7627dc27a7 Give different names to MultiPromise actors.
GitOrigin-RevId: 4277553637ca342bc80af07ddcdf013eec506221
2018-12-12 02:48:56 +03:00
levlam
65c8dd4b04 Remove now unused need_wait_for_key.
GitOrigin-RevId: c3c84c4ceba80738eadb950b4cb28541eb30b79f
2018-12-11 23:43:52 +03:00
levlam
43b61eace0 Remove unused callback from SessionConnection.
GitOrigin-RevId: d59f2581e57acb8bad96197381d0e0698b932ed2
2018-12-11 23:34:46 +03:00
levlam
6445cf645b A lot of various fixes.
GitOrigin-RevId: 64963bfb55e5ffe8b099c1953143158b44a540c6
2018-12-11 23:18:58 +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
c4c9707f7a Update layer 85. Add chatReportReasonChildAbuse.
GitOrigin-RevId: b132403bef19cf9e543c930ad4ea4ccc26a6d59a
2018-12-07 17:20:44 +03:00
levlam
ccf77c5e01 Better error messages while connecting to proxy.
GitOrigin-RevId: 25937285e2f3ee499f3335081f377ba584dcf068
2018-12-07 12:25:22 +03:00
levlam
7072b0319d Improve error message.
GitOrigin-RevId: 66bb30764ac37d2086731814daf8683794b76a13
2018-12-07 01:57:51 +03:00
levlam
92d78e3b0b Remove unimplemented methods.
GitOrigin-RevId: 70011dde0a35258bcc67a166058bc49ba05e396a
2018-12-06 23:55:56 +03:00
levlam
b777051eaa Add logging of HttpProxy response.
GitOrigin-RevId: a7ad02206e0c6515d38a7f0b767735f25eb6c7c1
2018-12-06 20:29:10 +03:00
levlam
811d24f1ba Load notifications from messages with unread mentions in MessagesManager::do_get_message_notifications_from_database.
GitOrigin-RevId: f2bab7c5783797c2612e6c73dabb6a3eac748d62
2018-12-06 01:59:33 +03:00
levlam
de4e3652ed Load notifications from messages with unread mentions in MessagesManager::do_get_message_notifications_from_database_force.
GitOrigin-RevId: c4db30edc8e4538ec087cb83b129519520ae24fb
2018-12-06 01:34:22 +03:00
levlam
399b971986 Slightly improve chat message notification count.
GitOrigin-RevId: 5b57095c09a70b559528faeb9c16b741d5e1f034
2018-12-05 20:42:28 +03:00
levlam
c371ac345d Fix sending updateNotification.
GitOrigin-RevId: a719da72bc9ef7869604ba47d790dda35c695fb7
2018-12-05 20:23:10 +03:00
levlam
b21a1abd7d Stop loading notifications from database when possible.
GitOrigin-RevId: fc1ded7e69961988fcc51d855a7d6cc544befa2f
2018-12-05 19:56:13 +03:00
levlam
d772ab6de0 Support updateActiveNotifications in getCurrentState.
GitOrigin-RevId: a0fddcbbd4c54bf338b3e84d0355849e848c7524
2018-12-05 19:11:28 +03:00
levlam
f435fe62a1 Fix HTTP spelling.
GitOrigin-RevId: f7d5626657406c1506434053efa68f28b4b6d674
2018-12-05 18:46:19 +03:00
levlam
36a545bc08 Fix unread_message_total_count_.
GitOrigin-RevId: cd9daa5eb501ae2cc7c62d62a1be5751b68db4e5
2018-12-05 18:46:08 +03:00
levlam
d580eb7818 Fix sending of secret_api::documentAttributeVideo.
GitOrigin-RevId: b4247fe902cbf64dc12e67cc1f41f140b60db65a
2018-12-04 21:18:07 +03:00
levlam
7e3ab0348a Reusing notification group id of discarded secret chats.
GitOrigin-RevId: f106620c150b65660ca6ef05521d6b8dff3875e3
2018-12-04 21:01:41 +03:00
levlam
6d37f492e3 Support notifications about new secret chats.
GitOrigin-RevId: 32d9c4c87228c0a70aa6753f0563b52c28cab97e
2018-12-04 19:40:12 +03:00
levlam
95db580cd3 Fix calls to before_get_difference.
GitOrigin-RevId: 936f232a2e5300fcbf3c4e9c9e235a303fe59fe4
2018-12-04 15:50:57 +03:00
levlam
254007eab8 Notifications fixes and improvements.
GitOrigin-RevId: be1ebd6df5f003207ed450d867772286ebcbea27
2018-12-04 02:25:29 +03:00
levlam
25225d5c4b Loading old message notifications from database.
GitOrigin-RevId: dfd63d824dc17efe4dd0e682f0a4adfa5639f273
2018-12-03 18:38:29 +03:00
levlam
2b5be01417 Add dummy load_message_notifications_from_database.
GitOrigin-RevId: 9aad6c7f34c26b43fcc0f2693679237458f955f9
2018-12-03 01:25:34 +03:00
levlam
869a33541f Minor fixes.
GitOrigin-RevId: a19b9f62c992d68f4fc11eaf2d73d56a320661f3
2018-12-03 00:55:35 +03:00
levlam
d1384cf9e4 Load more notification groups if needed on changed max_notification_group_count.
GitOrigin-RevId: 3c4095905bef8d9d3e0faf5ef131d2b5068aadc2
2018-12-03 00:41:07 +03:00
levlam
5b2377319f Load more notification groups if needed after some notifications are deleted.
GitOrigin-RevId: 14d4666462fcd701bddaab1d20e689200ead4ad7
2018-12-03 00:30:05 +03:00
levlam
41a9359109 Fix removal of notification updates, changing total_count.
GitOrigin-RevId: ff7076b01f4ae3be898e89c7258f34d6c67b780c
2018-12-02 23:56:49 +03:00
levlam
d9dcca7743 Send update about new loaded from database group.
GitOrigin-RevId: d80f4746c36946eb9b5042c74b3c4ebdcefa876e
2018-12-02 23:39:47 +03:00
levlam
7bdad0c877 Optimize NotificationManager::get_group.
GitOrigin-RevId: 0b0ae8d0ad274b1c91868943449d09e17aff25f7
2018-12-02 23:28:24 +03:00
levlam
7ce70d8056 Add add_group/delete_group methods.
GitOrigin-RevId: 71539381c1b3600bc18b8c79c6cdb63ffff1cb0f
2018-12-02 23:03:05 +03:00
levlam
7466a29da7 Fix dropping inline query results.
GitOrigin-RevId: e886dac54666ce0fc5a506d7db1c15ee62533034
2018-12-02 22:31:18 +03:00
levlam
3347a5e2da Fix OpenSSL armv7 build in iOS example.
GitOrigin-RevId: 078d669b11f1aafc2d6ea26088d663e2bd4b06a0
2018-12-02 22:26:27 +03:00
levlam
013afad0ca Fix races in get_group_force.
GitOrigin-RevId: 30b0902bd5ebaee142f45e06d1d7be6cf6d18762
2018-12-02 22:04:47 +03:00
levlam
3e843ece57 Fix order of chats with pending last message.
GitOrigin-RevId: 53496e0f5e3d48f69c5fe8692283a81a5011cc60
2018-12-02 20:47:39 +03:00
levlam
3e00a5e64b Fix postponing of updateChatReadInbox.
GitOrigin-RevId: 22d8244d438e0d67531cf8f334e87334597c328d
2018-12-02 03:35:58 +03:00
levlam
2b4d076323 Modernize spelling of macOs.
GitOrigin-RevId: 92129b6264af6a04d69d0eb79f942ca20923bb78
2018-12-01 04:15:59 +03:00
levlam
c7cb2978fd Send td_api::updateActiveNotifications.
GitOrigin-RevId: 23c45ad26f13220ff41479da4f4878e02dfbaede
2018-11-30 18:11:58 +03:00
levlam
9615604ecf Fix race in get_message_notification_group_force.
GitOrigin-RevId: 7c75103e168f41b1964504f53d69cee85210d601
2018-11-30 01:57:24 +03:00
levlam
a7e8bd166c Implement remove_message_notifications.
GitOrigin-RevId: bd85166d4fef4d7912300ffee1aa2d6ff2dc0717
2018-11-30 00:02:33 +03:00
levlam
31873111c7 Fix Dialog.last_notification_id after notification deletion.
GitOrigin-RevId: 2edbb4d4120953fc183833fd6d162dc8ce9ba954
2018-11-29 18:36:31 +03:00
levlam
6938d286e5 Simplify usage of remove_message_notification_id.
GitOrigin-RevId: 0538d4d965d93cc087955cb09b2eccbd564e780d
2018-11-29 16:29:39 +03:00