levlam
|
47512f0838
|
Force getChannelDifference if receive updateReadChannelInbox up to unknown message.
GitOrigin-RevId: 112fdbe7a95c1d6266d490c6d85efe798d3b59bd
|
2019-02-20 05:16:16 +03:00 |
|
levlam
|
7ab251c8f5
|
Do not warn about wrong unread count in left chats (it is known to be wrong).
GitOrigin-RevId: 33d82d5ecc4f9e4e7fefc6bc55b0a30c3c8a0337
|
2019-02-20 05:06:11 +03:00 |
|
levlam
|
6c728d67e0
|
Do not repair unread count in left chats.
GitOrigin-RevId: ccee30ac61202671b43f402f72e2247008138680
|
2019-02-20 05:00:54 +03:00 |
|
levlam
|
9d3bfaa979
|
Add source to on_update_dialog_notify_settings.
GitOrigin-RevId: a3b6d44d6e4b07ab05f564180ad071c15a6c49b6
|
2019-02-20 04:30:22 +03:00 |
|
levlam
|
95c2bb1730
|
Fix loading previously pinned message.
GitOrigin-RevId: 63948600bb4dd02c6c31611233b24126ae9912e8
|
2019-02-19 22:53:17 +03:00 |
|
levlam
|
839c1856ff
|
Register polls.
GitOrigin-RevId: 812e3e699a578effab96c4d798d5b74ddf635371
|
2019-02-19 18:42:59 +03:00 |
|
levlam
|
95f7b129c8
|
Add on_message_deleted method.
GitOrigin-RevId: 81b8eb1c5e213d4ed1c515bdbe32de407ba8a4bc
|
2019-02-19 17:33:15 +03:00 |
|
levlam
|
9de3304ec4
|
Close failed to send polls.
GitOrigin-RevId: 6f9dcde4bbfcbc1fa63ed94641775007e3091706
|
2019-02-19 17:06:48 +03:00 |
|
levlam
|
5ef99afec7
|
Add messagePoll support.
GitOrigin-RevId: 41b93b2708285e4051fc01b856aa14a8c8c5c692
|
2019-02-19 16:45:32 +03:00 |
|
levlam
|
8f33e737e1
|
Ypdate to layer 91.
GitOrigin-RevId: 15675ae2938bbc64dd288fce11cbd9cab1c714e3
|
2019-02-18 03:27:35 +03:00 |
|
Arseny Smirnov
|
206fbc0686
|
downloadFile: add limit:int32
GitOrigin-RevId: 395d29e8383db5c54a3f85a555c4e9648546ef47
|
2019-02-18 22:08:05 +03:00 |
|
levlam
|
8b233484e0
|
Do not copy show_preview notification setting to secret chats.
GitOrigin-RevId: 5c02532e5dbd26d1e5d8f9e9afee44ae33b65784
|
2019-02-18 02:41:53 +03:00 |
|
levlam
|
1c3503f834
|
Do not copy local settings from ScopeChats to ScopeChannels.
GitOrigin-RevId: 2c24d02ca35012a45e144f28035297ebbeddc85e
|
2019-02-17 18:25:15 +03:00 |
|
levlam
|
aae567f0c0
|
Fix GetNotifySettingsExceptionsQuery.
GitOrigin-RevId: b82e7c10304247002bde0ef568c79b38d7e688d6
|
2019-02-16 05:52:08 +03:00 |
|
levlam
|
fd5b5d6e55
|
Fix cancelling upload file for yet unsent messages.
GitOrigin-RevId: e525b421c7cf1cd98923215dba23966496f2e36c
|
2019-02-15 19:54:18 +03:00 |
|
levlam
|
d98aaa571f
|
Add td_api::getChatNotificationSettingsExceptions.
GitOrigin-RevId: f2ea5ced7cb2c62841dd961c4ce433f39c202f92
|
2019-02-14 21:44:20 +03:00 |
|
levlam
|
ec692e98e4
|
Remove some errors logging while closing.
GitOrigin-RevId: 65e4ca3d0748b4d59511d9024e2eff1367e13cf7
|
2019-02-14 18:36:16 +03:00 |
|
levlam
|
e7fc6f4d58
|
Update layer to 90.
GitOrigin-RevId: d105e3fe4c4c16764a8062915ad20bb9b8e3f815
|
2019-02-13 19:05:34 +03:00 |
|
Arseny Smirnov
|
20bfcaa979
|
Use LOG_CHECK where it is necessary
GitOrigin-RevId: a8bd17cc2ee6e43dcea52bb25aef9ee1f91c7ec4
|
2019-02-12 19:17:20 +03:00 |
|
levlam
|
0075f91e2e
|
Unify spelling of "expires_".
GitOrigin-RevId: 46aaff38317dd490f9d5a1250e426d94cb8aba75
|
2019-02-10 03:45:15 +03:00 |
|
levlam
|
b7b5fc0f06
|
A lot of file reference fixes.
GitOrigin-RevId: cfe82f1ea2f6fda7d5c63eb7f19e411fe5df61ff
|
2019-02-10 02:39:58 +03:00 |
|
levlam
|
6a43a9e91e
|
Support file reference errors in SendMultiMediaActor.
GitOrigin-RevId: ef25dd8bedab0998db1e57572e46e072c5e2e374
|
2019-02-08 17:54:23 +03:00 |
|
levlam
|
14670fb1e6
|
Fix setting of is_pinned_message_inited.
GitOrigin-RevId: 0d76948b15dc5b473b80b9e136823d3c3f874e0a
|
2019-02-04 21:18:51 +03:00 |
|
levlam
|
d0fc6930e4
|
Fix updateing pinned message.
GitOrigin-RevId: 55d651c182c379f194f3cd8fbbbfab47b3d3e9e4
|
2019-02-01 16:43:55 +03:00 |
|
levlam
|
bdfd8f4523
|
Move notification settings conversion to NotificationSettings.cpp.
GitOrigin-RevId: ac4dcc19183f1ffeba6ebae70a3c9049a9eee415
|
2019-02-01 15:47:27 +03:00 |
|
levlam
|
591576e6a4
|
Support pinned messages in private and basic group chats.
GitOrigin-RevId: b08ba37a6b27f871e394b5e4ac1864766f046134
|
2019-02-01 15:19:32 +03:00 |
|
levlam
|
f465b460ca
|
Separate scope notification settings for channels.
GitOrigin-RevId: 11d11b2ddba5381d9dcac84768d923fa367f0248
|
2019-01-29 14:40:56 +03:00 |
|
levlam
|
f875e0d4af
|
Better error message for cancelled editMessageMedia.
GitOrigin-RevId: 8e59aad0dde3acb9f0e819ac05833338ce680754
|
2019-01-31 03:06:21 +03:00 |
|
levlam
|
996869d4ca
|
Implement store/parse FileSourceId.
GitOrigin-RevId: ff0d80bf2a8d479dae0cdca2c806a9731ff499d9
|
2019-01-31 00:37:38 +03:00 |
|
levlam
|
3494ae8b09
|
Simplify EditDialogPhotoQuery,
GitOrigin-RevId: 2ea74ff1695764020835d30c5c73f8400d68da01
|
2019-01-29 02:41:33 +03:00 |
|
levlam
|
d18f89c071
|
Repair file reference in UploadDialogPhotoQuery.
GitOrigin-RevId: ab8eb37ad270381cac494ad5e16405487ff2a3a2
|
2019-01-29 01:52:36 +03:00 |
|
levlam
|
16105d56f0
|
Do not drop file_id in EditDialogPhotoQuery.
GitOrigin-RevId: 25f3f77d70cf5e537fc867c436ce699ea24ca82a
|
2019-01-28 18:42:28 +03:00 |
|
levlam
|
297e7642bb
|
File reference repair in SendMedia.
GitOrigin-RevId: 086076167af60b39d132a8c71b84f965c4b521d0
|
2019-01-28 18:21:48 +03:00 |
|
levlam
|
ebe337e671
|
Remove unnessecary calls to get_dialog.
GitOrigin-RevId: b644dfddc9a8486724ed0fdbfb0ce3117f70ada0
|
2019-01-25 19:15:30 +03:00 |
|
levlam
|
5e8f973ecf
|
Clear active dialog actions for left channels.
GitOrigin-RevId: e64622ebfb8407736bd621e8d665db7f8414acca
|
2019-01-25 19:12:03 +03:00 |
|
levlam
|
c474ce5994
|
Repair file_reference in editMessageMedia.
GitOrigin-RevId: 9826a975dda2838d12943efa03752a79ddee7765
|
2019-01-25 06:01:09 +03:00 |
|
levlam
|
c958bd5b7c
|
Add FileManager::cancel_upload.
GitOrigin-RevId: d6db4e90fbe361ed2c90e509fe3aa609df5988e6
|
2019-01-25 04:52:38 +03:00 |
|
levlam
|
44ed807417
|
Do not throw away file ids of reused media.
GitOrigin-RevId: dcc460775768ae87ffc3be01ef8da8985b394463
|
2019-01-25 04:38:11 +03:00 |
|
levlam
|
9f6d9ec48c
|
Fix crash.
GitOrigin-RevId: 4463222ba6259feb15ee74face187d430030401d
|
2019-01-20 17:59:02 +03:00 |
|
levlam
|
e5400074ce
|
Move FileType to FileType.h.
GitOrigin-RevId: 7e35c0f30b7755755b0583704dcfe344cc28d117
|
2019-01-20 00:54:29 +03:00 |
|
levlam
|
561b409d02
|
Disable notifications for more message content types just in case.
GitOrigin-RevId: a0c8cfe6800d3e49fcd797240d9a6ca217139363
|
2019-01-19 03:53:43 +03:00 |
|
levlam
|
4f16a72b02
|
Move editNotification update to a better place.
GitOrigin-RevId: 6735f3fea8bedd28447e3c4714ee00a8d4b10d9a
|
2019-01-19 03:44:54 +03:00 |
|
levlam
|
b61efbb40d
|
Delete self-destructed files if a message content was changed.
GitOrigin-RevId: 54c39a5a7ce014a3bc1f05c11d559ef2518b6bb0
|
2019-01-19 01:32:05 +03:00 |
|
levlam
|
51b3711171
|
Better get_message_file_source_id.
GitOrigin-RevId: 4de6e99640bb9fc4b6be8ddbc89817be3d5e1f99
|
2019-01-19 01:19:15 +03:00 |
|
levlam
|
d805569459
|
Reget failed to edit message from the server.
GitOrigin-RevId: 5afe193653c8d9450a886c878c2d3eab1f42fb74
|
2019-01-19 01:10:10 +03:00 |
|
levlam
|
d08e3ec449
|
Add missed call to remove_message_file_sources.
GitOrigin-RevId: 5a2e05f8a285b1964b7c739bec398be52d6a0e88
|
2019-01-19 00:34:34 +03:00 |
|
levlam
|
ff0130c48e
|
Use change_files_source in MessagesManager.
GitOrigin-RevId: 46c75e91e6ac02f76dba58feb484e57de5609ea3
|
2019-01-18 23:40:23 +03:00 |
|
levlam
|
1f5a86ea58
|
Store correspondence between message and FileSourceId in MessagesManager.
GitOrigin-RevId: 1fc23f6032c473639ce24e6564632d80327d24b3
|
2019-01-18 21:24:03 +03:00 |
|
levlam
|
8851b9d066
|
Implement FileSource.
GitOrigin-RevId: 2cbeab03d2ea1fa56d9f746c5c6c6a41e28d2795
|
2019-01-14 21:46:04 +03:00 |
|
levlam
|
cc5eaa6b7e
|
Fix addind/removing file source for messages.
GitOrigin-RevId: 726e2671dee6368bce20bac207b8d3929b1a34f6
|
2019-01-03 18:26:44 +03:00 |
|
Arseny Smirnov
|
a75726d77a
|
FileManager: file references draft
GitOrigin-RevId: 8d37ee4b5520497df08f49e598ae91825e74e1ea
|
2018-12-05 12:32:31 +03:00 |
|
levlam
|
3367067fa9
|
Preload pinned message in add_message_to_dialog.
GitOrigin-RevId: a07c96e3cdd183b720b8ece8629ce4dd5a251358
|
2019-02-07 19:54:43 +03:00 |
|
levlam
|
44562014ba
|
Add source to MessagesManager::on_get_message_from_database.
GitOrigin-RevId: 02f4838136ca00ce0350e268a22f260446eba49e
|
2019-02-07 19:43:23 +03:00 |
|
levlam
|
d36b215e22
|
Move being_added_message_id inside of a Dialog.
GitOrigin-RevId: 94331de1b5e941be0ab2c3853abae9f7517199da
|
2019-02-07 14:12:22 +03:00 |
|
levlam
|
79eae149eb
|
Add slightly more logging.
GitOrigin-RevId: 34fe24677606d08013baf04a9f48009ee7911842
|
2019-02-06 19:28:49 +03:00 |
|
levlam
|
dcd790ad09
|
Add CHECK debug.
GitOrigin-RevId: 05f99e0f7989d7c085c49990c6926d926bd502bb
|
2019-02-06 19:10:01 +03:00 |
|
levlam
|
2cc920d575
|
Add CHECK that add_message_to_dialog is not called recursively.
GitOrigin-RevId: e5687f5643954f5fecce3e06563d7307a16b490c
|
2019-02-05 17:10:06 +03:00 |
|
levlam
|
b19dacf20b
|
Do not try to load history in empty chats.
GitOrigin-RevId: 6ab22148eff7843abe251f7138e79f1f69f05b17
|
2019-01-14 01:32:30 +03:00 |
|
levlam
|
90cde3dea0
|
Better handling of empty dialogs and last pending message.
GitOrigin-RevId: cb9905ab05a7f60c2430d64b6f6a17ddbd54beb3
|
2019-01-14 01:22:06 +03:00 |
|
levlam
|
ee2d557531
|
Fix wrong calls to remove_notification.
GitOrigin-RevId: 3e752924af1511d9fd8f721fde93aa90e7f96123
|
2019-01-13 23:26:14 +03:00 |
|
levlam
|
7cead9fc0f
|
Add more logging.
GitOrigin-RevId: c943c0ee7ebbe7c3dc0b50b147226063e11c1e0a
|
2019-01-13 21:22:00 +03:00 |
|
levlam
|
e22e23a5ff
|
Add source to on_get_user and on_get_chat.
GitOrigin-RevId: a3f187dc0d7d981df6ca3f2566f66678b4ad4774
|
2019-01-12 06:48:39 +03:00 |
|
levlam
|
f0dd4b1bad
|
Unify handling of messages.Messages.
GitOrigin-RevId: ebce77b6e8417b0d011e6dd91087432de0a85524
|
2019-01-12 05:38:17 +03:00 |
|
levlam
|
91627605f6
|
Remove secret chat notification on chat opening.
GitOrigin-RevId: 4bd180b95b520bc1a9aca645d07580d5e3aa4228
|
2019-01-12 03:44:32 +03:00 |
|
levlam
|
14f5ce9a29
|
Delete reused notification groups from database and other fixes.
GitOrigin-RevId: d07e452682df5d781bd0bb992ef572c0c3990540
|
2019-01-12 03:40:06 +03:00 |
|
levlam
|
042c43ff46
|
Always send updateScopeNotificationSettings.
GitOrigin-RevId: 60d7e10e9b9e7d1f67f80cd7193ade42e52f3ef9
|
2019-01-11 03:30:55 +03:00 |
|
levlam
|
9b95544677
|
Always cancel file upload.
GitOrigin-RevId: d23729bde64972012a37a81620b1c4626648b342
|
2019-01-11 02:55:40 +03:00 |
|
levlam
|
f6f4f70290
|
Add remove_dialog_pinned_message_notification.
GitOrigin-RevId: 278ca1ea9914c9a71b3d6835fecd01fb36b536cb
|
2019-01-10 22:16:05 +03:00 |
|
levlam
|
134785fc3d
|
Preload pinned message.
GitOrigin-RevId: 9805a684ce0bfe5af26ac27c608748484c11d64d
|
2019-01-10 22:01:15 +03:00 |
|
levlam
|
3aa95a20ef
|
Notification settings for mentions.
GitOrigin-RevId: 54afec57ab351bcce98b51f06c2dc2769bc25f0f
|
2019-01-10 20:54:46 +03:00 |
|
levlam
|
ed9e4baae8
|
Support per chat disable_pinned_message_notification setting.
GitOrigin-RevId: 775384f42d6f31ac983e40836a88b63c0eab1962
|
2019-01-10 03:47:33 +03:00 |
|
levlam
|
5b941456d2
|
Add td_api::getMessageLocally.
GitOrigin-RevId: 8b6dec4aadc0d9b1005444fe82a7db12cf1841a7
|
2019-01-09 05:57:43 +03:00 |
|
levlam
|
ef7914a26d
|
Delay notifications in the open chat for 1 second.
GitOrigin-RevId: 9162b726f404b5116fd64a4894bb16a76e1c1aea
|
2019-01-09 05:13:03 +03:00 |
|
levlam
|
cccab2ba62
|
Better forward_info changes logging.
GitOrigin-RevId: 49ba4447cbe7998e7c275377e545c2fe7e54b92a
|
2019-01-08 22:48:43 +03:00 |
|
levlam
|
42d59ba6b3
|
Add additional delay for somw service message notifications.
GitOrigin-RevId: 181e4e4d8eab72b161ae9cc1ab5961f80a0b5d99
|
2019-01-08 21:24:06 +03:00 |
|
levlam
|
eeb2faede0
|
Fix pinned_message_notification_message_id after notification removal.
GitOrigin-RevId: 88cd26d1888a83c5d3448f9f2deeb92ed96140ec
|
2019-01-07 23:30:34 +03:00 |
|
levlam
|
ccb2649306
|
Better removing of reply markup after bot has left.
GitOrigin-RevId: 11971b4485fc89fc663afaf5f30ef0f4a88e6d2e
|
2019-01-07 19:30:09 +03:00 |
|
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 |
|
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 |
|
levlam
|
b3bae546ec
|
Various fixes.
GitOrigin-RevId: 52699dbd5280b63c6bb32da44ea5bfa3157a7922
|
2018-09-27 16:37:15 +03:00 |
|
levlam
|
f948956bf7
|
Use td::unique_ptr instead of std::unique_ptr whenever possible.
GitOrigin-RevId: 424beb72dc62efdefdbffb75f1036ba9417f84cb
|
2018-09-27 04:19:03 +03:00 |
|
levlam
|
81c0afafa3
|
Allow limit == -offset in getChatHistory.
GitOrigin-RevId: 8a050a75c0428304bb61c36a2c284b6309c6a8ea
|
2018-09-24 04:25:24 +03:00 |
|
levlam
|
86bc53bb0e
|
Fix usages of full_split.
GitOrigin-RevId: 17a750e4a9a7add83302694ad2e8771bf8ed6199
|
2018-09-23 02:46:09 +03:00 |
|
levlam
|
9c9ee999c4
|
Simplify InlineQueriesManager::get_inline_message_content.
GitOrigin-RevId: bf32b2756b899513afa6d935820d5ad37d158267
|
2018-09-22 03:47:40 +03:00 |
|
levlam
|
a23d62905b
|
Better MessageContentType output to StringBuilder.
GitOrigin-RevId: f755a36dc462db448a7ca584f8e061b161d3defd
|
2018-09-22 02:29:33 +03:00 |
|
levlam
|
a4d5cc9419
|
Fix warnings.
GitOrigin-RevId: 19e068a8579356722d116a7646980cf580721b7a
|
2018-09-22 02:15:13 +03:00 |
|
levlam
|
b11542ce6a
|
Rename MessageContent.get_id() to get_type.
GitOrigin-RevId: 3f718e571537875b66c9886d71cfc5c66213c8a7
|
2018-09-22 00:51:29 +03:00 |
|
levlam
|
946b46ad8c
|
Strong typing for MessageContent type.
GitOrigin-RevId: b89a431f6252ec47ebf2c3653eafbf71abbd7678
|
2018-09-22 00:33:41 +03:00 |
|
levlam
|
f08c0180b4
|
Const-correct tl::unique_ptr.
GitOrigin-RevId: b72a92a7169973c2d95e410cfbfed668a412e7e7
|
2018-09-21 20:52:22 +03:00 |
|
levlam
|
e086b4f740
|
Add MessagesManager::get_current_state.
GitOrigin-RevId: c5bcea8ae60503a50ab9707b61fcc082ebc89f79
|
2018-09-21 10:15:07 +03:00 |
|
levlam
|
4b2e3619f7
|
Use fail_send_message directly if possible.
GitOrigin-RevId: f537f3f2517a7775d5714e38b57a7ce11b2042f6
|
2018-09-19 19:59:23 +03:00 |
|
levlam
|
91950e9452
|
Fail to forward old messages after restart.
GitOrigin-RevId: 948954d3f6b9e3c7c4a8479233c95115cc676620
|
2018-09-19 19:43:01 +03:00 |
|
levlam
|
dccef30582
|
Automatically fail to resend very old messages.
GitOrigin-RevId: 6c39972e266b8be8be74f25de63a0008317de42e
|
2018-09-19 19:18:10 +03:00 |
|
levlam
|
2d05be04dd
|
Follow new server-side limits on first/last name and title length.
GitOrigin-RevId: 89fe4eb85c42859974142fd163ea9fd062fde459
|
2018-09-17 07:00:19 +03:00 |
|
levlam
|
95808d2230
|
Add debug.
GitOrigin-RevId: dc68c9353478ff31fb9ffdfade356c3770b6fbc4
|
2018-09-13 23:06:59 +03:00 |
|
levlam
|
9073ce4570
|
Do not add local photo sizes if photo could be changed.
GitOrigin-RevId: 6c19826a4c64a391a9254f261712529493fbe18c
|
2018-09-12 20:35:22 +03:00 |
|
levlam
|
cd33ec58be
|
Try to fix last_new_message_id in on_get_history_from_database.
GitOrigin-RevId: 4c5ede1006c4d8be0694ccfb459d70ed0702dc5d
|
2018-09-07 18:43:25 +03:00 |
|
levlam
|
8e9da13546
|
Fix handling of updateShortSentMessage without media.
GitOrigin-RevId: 8b43a406e25de52d78e86f6dc18f8901f30a4d59
|
2018-09-04 17:26:13 +03:00 |
|
levlam
|
523f4b9b26
|
Move logging of gaps in channels to INFO.
GitOrigin-RevId: 094a918973b02804f357e898378c55c147d02490
|
2018-09-01 15:55:29 +03:00 |
|
levlam
|
5379348651
|
Improve some logging.
GitOrigin-RevId: ec0a2f01c45b1ae7a74cd407f5c867e609e47d1f
|
2018-08-28 05:52:43 +03:00 |
|