Commit Graph

1079 Commits

Author SHA1 Message Date
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
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
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
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