Commit Graph

520 Commits

Author SHA1 Message Date
levlam
29446af0c0 Fix sending updateChatIsPinned after setPinnedChats.
GitOrigin-RevId: 174c40209eed399cf524d7335f7815de50e2ee74
2019-02-21 19:32:47 +03:00
levlam
93494cf048 Fix log messages style.
GitOrigin-RevId: f99e2e838220826d3dea7fdc33c43ac9918a5efd
2019-02-21 18:58:20 +03:00
levlam
b852bd145f Add td_api::setPollAnswer.
GitOrigin-RevId: 40c409ea8b4bba6d1ee0137a5cab8dca889d71dd
2019-02-21 15:23:05 +03:00
levlam
d6dd0a0bb9 Better updating message forward info.
GitOrigin-RevId: a5448c7b63b91f42088e26e00346cc7094ddea92
2019-02-21 02:13:20 +03:00
levlam
bfaaf09b2b Send updateMEssageContent about changed polls.
GitOrigin-RevId: bb61f466759ac27c687411861f8c7452cd5758ce
2019-02-21 01:54:31 +03:00
levlam
026863bf09 Fix get_dialog_message_by_date.
GitOrigin-RevId: efb19a9b3f174f45da9296615d270de2e384f31b
2019-02-20 05:44:54 +03:00
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