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 |
|
levlam
|
34a26188c6
|
Disallow switch_inline_query in channels.
GitOrigin-RevId: ad18c78f9abf4114ae72229f1b2f863f13ccba7a
|
2018-11-05 14:29:43 +03:00 |
|
levlam
|
53ecae8b0a
|
Add dialog_id to on_load_dialog_from_database.
GitOrigin-RevId: 4c5d84b580ce716be7b14e2ea3a4321434dd97f9
|
2018-10-29 20:16:31 +03:00 |
|
levlam
|
ccd96d92f2
|
Fix option name.
GitOrigin-RevId: e7203a982032d7c9f2e53605e8a14a90b0f61d9f
|
2018-10-27 03:15:55 +03:00 |
|
levlam
|
b9cbd43e96
|
Add check for invalid DialogId in database.
GitOrigin-RevId: ac28b2afb276743fe203a25f53e0ff69e4e3e08d
|
2018-10-26 18:36:53 +03:00 |
|
levlam
|
5368c96a41
|
Add parse_message function.
GitOrigin-RevId: 8bada6f99333add3548317ccca2ca4b5c8bb2136
|
2018-10-25 18:00:49 +03:00 |
|
levlam
|
923cf40de6
|
Possibly fix random_id_to_message_id correspondence.
GitOrigin-RevId: 279fc911a03342796a2200b1edad5f27726be5fd
|
2018-10-24 22:53:31 +03:00 |
|
levlam
|
043602bfc2
|
Add {add,delete}_random_id_to_message_id_correspondence functions.
GitOrigin-RevId: 7701ea29659c355da408e97bf642529113e9d7ff
|
2018-10-24 22:49:50 +03:00 |
|
levlam
|
f571a79f13
|
Add more debug.
GitOrigin-RevId: 2c1b631964547b2b5ba9440bb41af1ae65d5b1cf
|
2018-10-24 22:15:32 +03:00 |
|
levlam
|
de72a4e811
|
Add debug.
GitOrigin-RevId: fe72382facc645f11584329c7dab827ad53cb8c0
|
2018-10-24 22:06:13 +03:00 |
|
levlam
|
3bd2eb547e
|
Add on_send_message_success debug.
GitOrigin-RevId: a2c4ae66baa7d0aa1b2b1a96771d06bb138822f2
|
2018-10-24 21:11:56 +03:00 |
|
levlam
|
92fbabbe1a
|
Fix call to get_channel_difference.
GitOrigin-RevId: 4594b60bbdceacded2f540ccc6a3c0d9fc5c16c6
|
2018-10-22 18:19:39 +03:00 |
|
levlam
|
00c5033386
|
Add more checks for message validness.
GitOrigin-RevId: 5bc63465eb68b305f9b60a3b73c9669386d045e6
|
2018-10-22 02:01:55 +03:00 |
|
levlam
|
776ab59c8d
|
Exclude sponsored chat from unread counts.
GitOrigin-RevId: 3bf1951938b6cf2c7f9a9e3b4c67554c8202f9fe
|
2018-10-14 02:51:35 +03:00 |
|
levlam
|
b7a779db3b
|
Add get_update_unread_*_count_object functions.
GitOrigin-RevId: 9f5c53acaad72ad7288882691232f7e7c85d8127
|
2018-10-09 17:12:10 +03:00 |
|
levlam
|
041896ab8d
|
Copy notification settings to newly created secret chat from private chat.
GitOrigin-RevId: 5c2e0a7eba59f41fcdbe70ab134299620250e907
|
2018-10-08 23:42:24 +03:00 |
|
levlam
|
f2298ce27d
|
Fix errors handling in some ResultHandlers.
GitOrigin-RevId: 5aa4c8b7d53fa55ed6a750e3815ff1337cb5ebcd
|
2018-10-08 22:18:44 +03:00 |
|
levlam
|
286c5040c1
|
Do not fail old messages sent to chat with self.
GitOrigin-RevId: eb88cd12fb29a32c6088c6284babe73a3ad71e01
|
2018-10-08 17:28:06 +03:00 |
|
levlam
|
2540555ae5
|
Remove source from get_my_id.
GitOrigin-RevId: 623c24323b55937866841c4b0f32b109c513983b
|
2018-10-08 17:21:56 +03:00 |
|
levlam
|
1b0c7d889d
|
Add MessagesManager::get_my_dialog_id.
GitOrigin-RevId: 2e1e88a171a5ad86186136ef2d6f49d725ce5d09
|
2018-10-08 17:13:09 +03:00 |
|
levlam
|
806e570a72
|
Add source to next_utf8_unsafe.
GitOrigin-RevId: e8e5a47096461c0e76a64eb26cb848651d4d61e8
|
2018-10-08 15:53:05 +03:00 |
|
levlam
|
a26266f336
|
Improve logging in send_update_new_message.
GitOrigin-RevId: abe4f4c0d1e1d515b01746ba4ef8129bef65083b
|
2018-10-08 01:00:34 +03:00 |
|
levlam
|
ab2255f9b1
|
Add MessagesManager::need_unread_counter.
GitOrigin-RevId: 10223c628cd69ec31dfc0d4bdb56078dab234354
|
2018-10-08 00:28:03 +03:00 |
|
levlam
|
e7b69c9419
|
Fix get_pinned_dialogs in presence of sponsored chat.
GitOrigin-RevId: 842d022a1c47856a724f476e4f27236487aee62b
|
2018-10-07 02:59:30 +03:00 |
|
levlam
|
cd2e596b50
|
More MessagesManager refactoring.
GitOrigin-RevId: b458c10b0a59704a07030fe4b8dd4891051cd52c
|
2018-10-02 02:40:34 +03:00 |
|
levlam
|
e07ab63768
|
Add save_*_logevent methods.
GitOrigin-RevId: 5043948638752fe85d327be5143e79c372438ec9
|
2018-10-02 02:01:17 +03:00 |
|
levlam
|
21ac4d41d1
|
Add MessagesManager::send_get_scope_notification_settings_query.
GitOrigin-RevId: d4bc141bb3d5e730427cc07df21d82461312db74
|
2018-10-02 01:30:03 +03:00 |
|
levlam
|
4d8a832b7d
|
Reduce more cpp source code interdependecies.
GitOrigin-RevId: e80ac4246299a5a3bf515977c24d281055fcadb6
|
2018-10-02 00:24:45 +03:00 |
|
levlam
|
b3a992a156
|
Remove unused class.
GitOrigin-RevId: 441411011e32e38115be51e7568d5ac50328d254
|
2018-10-01 19:35:21 +03:00 |
|
levlam
|
ad81123d60
|
Make CallsDbState private to MessagesManager.
GitOrigin-RevId: b1d4b01abff4a534765e3fc52b07db7bd9d07def
|
2018-10-01 01:34:06 +03:00 |
|
levlam
|
091d7143e3
|
Fix includes.
GitOrigin-RevId: 68b59141c12d6e24ddaf0fa48008bf58935bd818
|
2018-09-29 04:41:15 +03:00 |
|
levlam
|
79a613cf45
|
Move NotificationSettings to separate header.
GitOrigin-RevId: cb0c2e33a0a075dfea2b70ff671de8db0db36ca0
|
2018-09-29 03:29:57 +03:00 |
|
levlam
|
b6a8624c60
|
Move DraftMessage to separate files.
GitOrigin-RevId: acf4722d7c1328ee4048f8ca162060923e0be6fe
|
2018-09-29 02:45:43 +03:00 |
|
levlam
|
4cf6aba717
|
Move MessageContent and InputMessageText implementations to corresponding files.
GitOrigin-RevId: d308007a3c850f1969b64a08865787ee7b340b34
|
2018-09-28 23:57:34 +03:00 |
|
levlam
|
362fc331c7
|
Add get_message_content_deleted_user_id.
GitOrigin-RevId: fe1c4db7920238eb623d5557277472af93523ca1
|
2018-09-28 19:22:30 +03:00 |
|
levlam
|
58b724c5c0
|
Add get_message_content_pinned_message_id.
GitOrigin-RevId: ab4fcbe42fdcb177575cdc167a446ea6b334f331
|
2018-09-28 19:16:03 +03:00 |
|
levlam
|
6539fbcff6
|
Add get_message_content_new_participant_count.
GitOrigin-RevId: b4c884cdd8d947af3a5a8a3263da2b3bc547be4d
|
2018-09-28 19:07:14 +03:00 |
|
levlam
|
d5683ee224
|
Static create_text_message_content.
GitOrigin-RevId: 9def379214c944dce0d42c2fcf08198a49ea1db5
|
2018-09-28 18:48:03 +03:00 |
|
levlam
|
c061da558b
|
Make create_input_message_content static.
GitOrigin-RevId: ca85aeed0a712ddaff7f44d14f75d119f0feb3b0
|
2018-09-28 17:50:02 +03:00 |
|
levlam
|
09beaef806
|
Make process_input_message_text static.
GitOrigin-RevId: 3e7989ecb8ba90da7324748022ebc77b3ebc7660
|
2018-09-28 17:39:07 +03:00 |
|
levlam
|
12a21587ab
|
Add MessagesManager::get_input_caption.
GitOrigin-RevId: 4145fde2f54092c358c49fc891707186cca277f3
|
2018-09-28 17:21:05 +03:00 |
|
levlam
|
bfde2f0e32
|
Add MessagesManager::create_input_message_content.
GitOrigin-RevId: e230e6c6069777e05dde34230492981846064646
|
2018-09-28 16:59:29 +03:00 |
|
levlam
|
10e4f008b8
|
Return pointer from get_message_content_text.
GitOrigin-RevId: c1556ee6e58e13e574881585f889744c4be1d4a4
|
2018-09-28 05:09:28 +03:00 |
|
levlam
|
4451d8d2ed
|
Add add_message_content_dependencies.
GitOrigin-RevId: 10c2cafe4de13907cad62c7f5df55f008fffbc94
|
2018-09-28 04:29:55 +03:00 |
|
levlam
|
4597689060
|
Add Dependencies.h.
GitOrigin-RevId: 791b4dc804a8c0b734b027ff348b16bbfceede5c
|
2018-09-28 04:21:20 +03:00 |
|
levlam
|
144816b469
|
Add static {g,s}et_message_content_web_page_id.
GitOrigin-RevId: 98d95d47e0e1d01ed42be3eede01650474e138d9
|
2018-09-28 04:10:44 +03:00 |
|
levlam
|
cb9e935dee
|
Add static merge_message_content_file_id function.
GitOrigin-RevId: 0f43afe01427e71bb0496b877a857974148b1029
|
2018-09-28 03:38:45 +03:00 |
|
levlam
|
9b9ea5c58c
|
Implement on_update_sent_text_message using merge_message_contents.
GitOrigin-RevId: 823a468eb953686ce3ecbcbfe0eab78513aca36e
|
2018-09-28 03:15:12 +03:00 |
|
levlam
|
9ec9377815
|
Make more functions static.
GitOrigin-RevId: 70c3e1fee2af9620ef61e4d337ba8126ca41634c
|
2018-09-28 02:16:49 +03:00 |
|
levlam
|
8236bb8c0e
|
Seaprate static method for merge_message_contents.
GitOrigin-RevId: 7228109e708462483b73e46ed5dc60631f0e0420
|
2018-09-28 01:39:12 +03:00 |
|
levlam
|
02893fff41
|
Make most MessageContent-handling methods static.
GitOrigin-RevId: 31d8d7e25c835afbab2a65e649b2a533902b0223
|
2018-09-27 22:44:40 +03:00 |
|
levlam
|
c1f4e9d292
|
Make get_*_duration const.
GitOrigin-RevId: 85b5eb4cb221c2144318989d4d93b45784adcdf4
|
2018-09-27 21:14:32 +03:00 |
|
levlam
|
6ac930139b
|
Const-correct unique_ptr.
GitOrigin-RevId: 938cf4b0261cfea123066ae1fc4197754da11e68
|
2018-09-27 19:51:45 +03:00 |
|