Commit Graph

507 Commits

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