levlam
|
3c6008aa9c
|
Fix call to on_update_secret_chat_state.
GitOrigin-RevId: 110b1b4fe066ae3cfa064baa9d861653cb284222
|
2019-01-07 18:08:01 +03:00 |
|
levlam
|
a6bb57d3dd
|
Do not notifiations about messages from inactive basic groups.
GitOrigin-RevId: a930e5f235ecf133347705e50d6647615dded091
|
2019-01-07 17:54:45 +03:00 |
|
levlam
|
5438119bb4
|
Fix Global.h and TdDb.h includes.
GitOrigin-RevId: 89fa1ee3e8071ad3f27687f79d1a52de113f9705
|
2019-01-06 22:59:17 +03:00 |
|
levlam
|
ea06aa19d6
|
Forward-declare BinlogEvent.
GitOrigin-RevId: 4ea183c04ec8e5ffd0c2851db399b2a2155557ea
|
2019-01-06 22:11:02 +03:00 |
|
levlam
|
027c1eafc4
|
Properly init MessagesManager.
GitOrigin-RevId: 10bd6a41a479389afdbf6d621025bba766f8e850
|
2019-01-06 01:25:09 +03:00 |
|
levlam
|
9cb950bc05
|
Update layer 85. Support hide_via_bot.
GitOrigin-RevId: 94fb988d50640f68019007249b8e4860ccea89af
|
2019-01-03 00:05:47 +03:00 |
|
levlam
|
eaebfad034
|
Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
|
2019-01-01 01:02:34 +03:00 |
|
levlam
|
05a99dedb1
|
Improve updateMessageId handling.
GitOrigin-RevId: 6eb271f26f3bfda0544bb887e8b763f3b5b4b452
|
2019-12-30 02:56:52 +03:00 |
|
levlam
|
ea3c65b3aa
|
Add disable_pinned_message_notifications option.
GitOrigin-RevId: 42c12c98abf2bbfa6c41e67f8b5b0c2f9a3536e9
|
2019-12-30 00:35:19 +03:00 |
|
levlam
|
5c2c8a1844
|
Trying to get missing sent messages from server.
GitOrigin-RevId: 64ab8c7b8302024e0230977e624711f88c21ab4f
|
2018-12-27 05:06:26 +03:00 |
|
levlam
|
36419ed6c6
|
Better dialog pos after loading it from database.
GitOrigin-RevId: 475baad7205fb1843840fb22cb1349a7a4f68ac6
|
2018-12-26 23:40:52 +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
|
4ec320cd0a
|
Better MessageUnsupported support.
GitOrigin-RevId: 7b2b83c83e8b602dfd371fb5c9c598b3a5c31839
|
2018-12-25 20:47:37 +03:00 |
|
levlam
|
480772c4cf
|
Fix mention notification count if needed.
GitOrigin-RevId: 51fbe5034bb060c09d903b56908aade48a05962d
|
2018-12-25 18:04:29 +03:00 |
|
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
|
531bf775a3
|
Better logging.
GitOrigin-RevId: 7c0b4ffb6b3bb83396b8de1613d5c8af652d0e97
|
2018-12-24 17:28:50 +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
|
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
|
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
|
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
|
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
|
b21a1abd7d
|
Stop loading notifications from database when possible.
GitOrigin-RevId: fc1ded7e69961988fcc51d855a7d6cc544befa2f
|
2018-12-05 19:56:13 +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
|
d9dcca7743
|
Send update about new loaded from database group.
GitOrigin-RevId: d80f4746c36946eb9b5042c74b3c4ebdcefa876e
|
2018-12-02 23:39:47 +03:00 |
|
levlam
|
7ce70d8056
|
Add add_group/delete_group methods.
GitOrigin-RevId: 71539381c1b3600bc18b8c79c6cdb63ffff1cb0f
|
2018-12-02 23:03:05 +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
|
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 |
|
levlam
|
d069c6cf0e
|
Save last_notification_id in Dialog.
GitOrigin-RevId: 4933eb789e2213b3be2904ae9596d3f453c291ba
|
2018-11-29 16:17:17 +03:00 |
|
levlam
|
8bbc0f598e
|
Force restart after message_id overflow.
GitOrigin-RevId: 5cbf43ec9a0b85a02f2b99b5aa17331855a184cc
|
2018-11-29 14:37:48 +03:00 |
|
levlam
|
c5eee61308
|
Remove notifications from database by notification_id.
GitOrigin-RevId: 4e155c60a5e721c9d68a0e41b67b07c79ede3c8e
|
2018-11-29 02:48:47 +03:00 |
|
levlam
|
85352135fc
|
Repairing wrong last_notification_id.
GitOrigin-RevId: f45d3806ea0c6ca38fd7f3c6b820f8f52255edf3
|
2018-11-29 01:20:20 +03:00 |
|
levlam
|
c1fc81a204
|
Ensure that all chats have different notification group ids.
GitOrigin-RevId: 45aa312302c7df9616f8b8036d444000d186d149
|
2018-11-29 00:57:39 +03:00 |
|
levlam
|
113e264a5f
|
Add MessagesManager::get_message_notification_group_keys_from_database.
GitOrigin-RevId: 8ad93b1dc1782b5f0bf94d70ca8deba55a6ea58f
|
2018-11-29 00:51:25 +03:00 |
|
levlam
|
9e3171ca7a
|
Add MessagesManager::get_message_notifications_from_database.
GitOrigin-RevId: 1eaea2fcc61814c5c87b3c7b2ad90ce749c152c0
|
2018-11-28 23:19:30 +03:00 |
|
levlam
|
07f4d0d94e
|
Add notification_id field to message database.
GitOrigin-RevId: 036e3fb02d7d18c04f568495ae50be9614717a0f
|
2018-11-28 20:18:50 +03:00 |
|
levlam
|
1b14cffb19
|
Load message notification groups by group_id.
GitOrigin-RevId: 51169f873ea08a971f53f6c75cd7fe4ad5978b4d
|
2018-11-28 19:21:18 +03:00 |
|
levlam
|
b5abe4b751
|
Possibly better handling of wrong is_outgoing flag.
GitOrigin-RevId: a53999ddb5aee83b2a737364ab07c2906b5b84fb
|
2018-11-28 04:00:39 +03:00 |
|
levlam
|
4c618b6f92
|
Add notification_group_id to DialogDb.
GitOrigin-RevId: 119785b8a6904a9243ba559237a3f02bb4fe1950
|
2018-11-27 17:39:13 +03:00 |
|
levlam
|
bd531081ad
|
Add Notification.h.
GitOrigin-RevId: e102973d5585fdf346ac01b09bd2262f9c11fd2e
|
2018-11-26 20:05:06 +03:00 |
|
levlam
|
60e685bd7c
|
Improve flush_pending_updates.
GitOrigin-RevId: 54cc8bddd6654e9972eb4346784c93e84f551ed1
|
2018-11-26 15:58:42 +03:00 |
|
levlam
|
a84f096ae9
|
Fix behavior of flush_pending_updates.
GitOrigin-RevId: 16fe3975a93062961d28cecd0150a42bfefe7990
|
2018-11-24 02:55:30 +03:00 |
|
levlam
|
3a126069f2
|
Fix handling of after_get_difference in NotificationManager.
GitOrigin-RevId: ef543b9f3253d4e3da08fe5d7ce0320d2bf9f4f5
|
2018-11-23 14:42:34 +03:00 |
|
levlam
|
9841b28693
|
Add insert_message function.
GitOrigin-RevId: c78957f5489e5efcc906c93b9ad9b9b5e2644240
|
2018-11-22 21:27:43 +03:00 |
|
levlam
|
9118cbc71c
|
Simplify adding message to dialog.
GitOrigin-RevId: c0cca65a5deafd763c215030c7dc82e92951b406
|
2018-11-22 21:08:26 +03:00 |
|
levlam
|
0362a95b7a
|
Remove deleted notifications from pending updates.
GitOrigin-RevId: 8061a9c0ba1814444fa9b906f4cbeb31da197dcb
|
2018-11-22 20:17:26 +03:00 |
|
levlam
|
989b984455
|
Delay notification updates during getDifference and fix bugs.
GitOrigin-RevId: 05f5921a195a9b90b50773ce701ea115cc19e5c8
|
2018-11-22 04:00:28 +03:00 |
|
levlam
|
1f40a2dc78
|
Support update_pts in updateChannelTooLong from getDifference.
GitOrigin-RevId: 4400186159d0dbc62eef70bd0d41f103a1dd2c41
|
2018-11-21 20:30:29 +03:00 |
|
levlam
|
a199a17282
|
Fix send_remove_group_update.
GitOrigin-RevId: c4ce6035da4e5cc72c7be2a2164c322884f0175c
|
2018-11-21 18:00:14 +03:00 |
|
levlam
|
f2a4cbd1f7
|
Better handling of channelDifferenceTooLong.
GitOrigin-RevId: db70a044bf34c7e30b57266e361cd9579f864e39
|
2018-11-21 16:08:37 +03:00 |
|
levlam
|
b666f554f4
|
Fix flush_pending_new_message_notifications.
GitOrigin-RevId: b3b2e75d95760c2f57e71a4eb66da0674ea56da0
|
2018-11-21 15:23:43 +03:00 |
|
levlam
|
28da401d87
|
Remove dialog notifications when necessary.
GitOrigin-RevId: d1d1b359d3703de41bd786fdfead9152628de9a6
|
2018-11-20 20:17:15 +03:00 |
|
levlam
|
53b02b38aa
|
Remove notifications when dialog history is read.
GitOrigin-RevId: 014c6aae7a0f741882c785db2cefe440b9c8c676
|
2018-11-20 18:03:49 +03:00 |
|
levlam
|
a28ac39ecf
|
Fix some MessageDb usages.
GitOrigin-RevId: 90db1e1576dc86b179ae24175cd9a36e00e27647
|
2018-11-18 02:39:51 +03:00 |
|
levlam
|
a10de8fc9e
|
Better fix for unneded getDialog, getChannelDifference and getChannelFull queries.
GitOrigin-RevId: 74c6569ad38b74fb0d0c95a6a552a643c3b12244
|
2018-11-18 01:42:15 +03:00 |
|
levlam
|
fdd7987f0a
|
Fix preloading of just received in getDialogs dialogs.
GitOrigin-RevId: 0ff17a84046f76ede0ec4efda0707477b0ab9397
|
2018-11-18 00:24:19 +03:00 |
|
levlam
|
c5c3b8c95a
|
Implement updateNotification.
GitOrigin-RevId: 804e527cc2819e8fa6420d8a7ceea4ad6688a641
|
2018-11-16 18:00:46 +03:00 |
|
levlam
|
a86a9d2a00
|
Add support for updateNotificationGroup and delaying of updates.
GitOrigin-RevId: 28974259dcaf97d2ddc7b303c7609bd99b846089
|
2018-11-15 18:58:33 +03:00 |
|
levlam
|
d82e9b1b2c
|
Add last_notification_date to database.
GitOrigin-RevId: 1ae7310f0ec89a832e8081255c6cbca864c3ecc2
|
2018-11-12 17:44:42 +03:00 |
|
levlam
|
0ca9b6493d
|
Send to NotificationManager notifications about new/edited messages.
GitOrigin-RevId: 79647054a22e1376c8a69da180ba293300468ed6
|
2018-11-11 15:58:52 +03:00 |
|
levlam
|
9fa8186287
|
Add flags2 support to Message parser/storer.
GitOrigin-RevId: 3eed28718fd30c328b7c97a7897b4c92a8e43977
|
2018-11-09 15:49:54 +03:00 |
|
levlam
|
e59261ee10
|
Notification API draft.
GitOrigin-RevId: bda9cf7fb68f21529550c5087461940f02a01006
|
2018-11-08 21:00:03 +03:00 |
|
Arseny Smirnov
|
0575aa2983
|
DialogDb: last_notification_date
GitOrigin-RevId: d57526aa00fea63cc3efda091cfa9a1a89955065
|
2018-11-07 00:11:34 +03:00 |
|
levlam
|
a3049fa4b4
|
Add debug logging.
GitOrigin-RevId: 6f1bf40ff7388359a95f14584bc54780df67b30a
|
2018-11-08 14:00:30 +03:00 |
|
levlam
|
95ff033aae
|
Silence 401th error for ordinary users.
GitOrigin-RevId: 3a371adef8cfc50609a9320c43a0c8cf5d9dd403
|
2018-11-07 21:26:21 +03:00 |
|