Commit Graph

1108 Commits

Author SHA1 Message Date
levlam
33de10f288 Add CHECK for correct init order.
GitOrigin-RevId: 488c507c51f42c9e40a09e553134c96aa5b794b5
2018-12-25 06:07:29 +03:00
levlam
1d55e08fe4 Pinned message notification support.
GitOrigin-RevId: f0a435fd3bb55daff2dee438c939b39f8b89f331
2018-12-25 05:45:36 +03:00
levlam
c60ce3a434 Cache dialog_type.
GitOrigin-RevId: b2d2ee6c09e46edfd35a7e239d528c6e81a8b471
2018-12-24 23:24:44 +03:00
levlam
24700e3d98 Remove notifications from left sponsored chat.
GitOrigin-RevId: 974847b0e26ab42d44c4d78431e8f39a35a8bbfa
2018-12-24 22:51:37 +03:00
levlam
c4903da286 Better handling of notification_id overflow.
GitOrigin-RevId: 3992facb365b43874420d2cdc2b966286ba59cf3
2018-12-24 22:45:42 +03:00
levlam
fe8cf6cd3d Add updateHavePendingNotifications.
GitOrigin-RevId: 762b32f5a5d271f82c3f1c03efff92d8ccb7321d
2018-12-24 19:45:19 +03:00
levlam
bbcad65737 Support subscribing for encrypted push notifications.
GitOrigin-RevId: ff0bc71f137cc0d77df4297ef22e8a885864f27b
2018-12-24 18:33:39 +03:00
levlam
531bf775a3 Better logging.
GitOrigin-RevId: 7c0b4ffb6b3bb83396b8de1613d5c8af652d0e97
2018-12-24 17:28:50 +03: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
a05c43ceeb Add NotificationGroupType.
GitOrigin-RevId: 328adc5df3cbe278008c11d5a35da93da88b7d41
2018-12-24 00:34:40 +03:00
levlam
36ab6b3cca Implement separate mention notification group.
GitOrigin-RevId: 036eed8c87e5f60da0c24cd02df11cd48f977019
2018-12-22 23:24:18 +03:00
levlam
9dbe8ab9d0 Add date to td_api::notification.
GitOrigin-RevId: f1cf1ea59c9880dfa22e19e6e068f7e0af3e71df
2018-12-20 23:14:19 +03:00
levlam
873e15efed Update notification group table.
GitOrigin-RevId: ca9447ae76fb5f184d72d3a8892fcfc444b96a43
2018-12-20 22:48:46 +03:00
Arseny Smirnov
0a27e231ff DialogDb: separate table for notification groups
GitOrigin-RevId: 5654270a3c52a880749c7bd4de96b197a2f04333
2018-12-20 20:24:49 +03:00
levlam
e2d1a71d3b Improve as<>.
GitOrigin-RevId: 227b2bae3079bed93936db16c4846c8d0a49bd39
2018-12-20 01:46:55 +03:00
levlam
3850a4da7f Move as from common.h to as.h.
GitOrigin-RevId: 3ecc4b4c4ff6c9b070d30cf017e22a8acce0af09
2018-12-20 00:57:56 +03:00
levlam
22eb4e1cb2 Remove unneeded reinterpret casts.
GitOrigin-RevId: 54a161ad11e5909f9c06912cf67e6805279f2327
2018-12-20 00:44:15 +03:00
levlam
b676fe509a Move UInt to UInt.h
GitOrigin-RevId: 52b6d36d1ece8c267f5548000b2592ffd3a62ded
2018-12-20 00:18:53 +03:00
levlam
cba0f62ba9 Minor fixes.
GitOrigin-RevId: ffac148f714da737dcc1b12e56352995866f93b4
2018-12-19 23:35:13 +03:00
Arseny Smirnov
e0b9cf2586 Fixes for updated tdutils
GitOrigin-RevId: 44ef7ad802652dba0f7e90f59fa2b81e72641db1
2018-12-19 17:49:13 +03:00
levlam
7ce738f619 Fix verify and Confirm for phone number.
GitOrigin-RevId: a643f7fcd1bfd0909d99aee80babe7952790a9d9
2018-12-19 00:13:33 +03:00
levlam
e586b31a87 Add support for notifications about new calls.
GitOrigin-RevId: fc4f9c1a484832241f2059a1ec58af6e5abcb198
2018-12-18 23:59:35 +03:00
levlam
f073317738 Add more debug.
GitOrigin-RevId: 0342d01ee7fb111b08fb7e38a4316d4bcc1261ef
2018-12-18 13:51:23 +03:00
levlam
a853f82e94 Add debug.
GitOrigin-RevId: d98662b93489740a3b400415d1c28ccab88ad33e
2018-12-18 12:47:16 +03:00
levlam
a78b5c04a2 Repair message_id correspondences in on_get_message_from_database.
GitOrigin-RevId: 71d4f6a83cb29e5c1933c0bef7ae1274deea7076
2018-12-18 11:03:43 +03:00
levlam
47c67479b3 Fix race in on_alarm_timeout.
GitOrigin-RevId: 0a940296688cf4b743c85fa4513504483cd357df
2018-12-18 10:43:28 +03:00
Arseny Smirnov
a20168bdf9 Files: some fixes
GitOrigin-RevId: b92ec014849a65ca4c016a18818d8d6ba7438778
2018-12-17 23:59:24 +03:00
Arseny Smirnov
df7e6f83f5 Files: support remote id for map thumbnails
GitOrigin-RevId: d9b5281ce55fd7bd2f4557a933b7f9dba2b591af
2018-12-17 22:56:47 +03:00
levlam
ef59720681 Fix initialization of last_loaded_notification_group_key_.
GitOrigin-RevId: 2c5b8bc28479446be6ed1f2e4070a046ca2bc1c4
2018-12-17 19:19:05 +03:00
levlam
500d809f51 Improve connections logging.
GitOrigin-RevId: e0c11b91c016fce49f4ba4036f92a19a0dfc681b
2018-12-17 19:10:03 +03:00
levlam
d95c39059a Fix unneeded stores of chats to database just after load from database,
GitOrigin-RevId: 36cc8b2b55331286771e86165ccf4cc6dbf39d3a
2018-12-15 20:43:20 +03:00
levlam
aa1727f638 Load only specified number of chats from database.
GitOrigin-RevId: 5b2581b7313064dfea2f2c756c2cffb1af7ee00f
2018-12-15 19:27:06 +03:00
levlam
9d3ab75c56 Fix some spelling.
GitOrigin-RevId: 351e7c32fee3fb9249d561434ba1515082e757b0
2018-12-14 01:48:36 +03:00
levlam
cc4877d0da Fix names of MultiPromiseActor.
GitOrigin-RevId: 2efcb2dab1578b0b6deb08f70a7db096daadb4aa
2018-12-12 20:02:50 +03:00
levlam
5b4b54a177 Disable top chats for bots.
GitOrigin-RevId: 0b7a28d335f35233a3c6c77b4b3cb4f58c160464
2018-12-12 18:38:20 +03:00
levlam
79fb7c592e Move get_input_message_content to MessageContent.cpp.
GitOrigin-RevId: 2aba804b4a8dbda0a88fe6890ad730fafa896df4
2018-12-12 17:36:31 +03:00
levlam
00c10535a2 Add extract_input_caption method.
GitOrigin-RevId: d49433b0d7d9313bf8f4814c90f28717678b8444
2018-12-12 17:05:32 +03:00
levlam
4f7a52fbb1 Move process_input_caption to MessageEntity.h.
GitOrigin-RevId: 6b5b39d2d82fefbfb6c23df977644c39549ead2e
2018-12-12 16:35:59 +03:00
levlam
f1c0ee7134 Add self-standing add_sticker_set.
GitOrigin-RevId: a6bf3d0e63601307f79e6acce8fd501f2081704b
2018-12-12 16:11:49 +03:00
levlam
c6c82220a4 Add on_sent_message_content.
GitOrigin-RevId: ce05a403dd251208c19696598b7ff2fea7b910f0
2018-12-12 15:57:24 +03:00
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
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