Commit Graph

1178 Commits

Author SHA1 Message Date
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
Arseny Smirnov
df1c8d8297 Add an emscripten example (tdweb)
GitOrigin-RevId: a05f88d5899de77fb15a0b9d476f09c7a388dc74
2018-12-21 19:03:26 +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
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
92d78e3b0b Remove unimplemented methods.
GitOrigin-RevId: 70011dde0a35258bcc67a166058bc49ba05e396a
2018-12-06 23:55:56 +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