Commit Graph

2230 Commits

Author SHA1 Message Date
levlam
35bf5e2f32 Add more logging.
GitOrigin-RevId: 4e84e89517d3e28911f8d876fe3ccc6ef741c4f5
2019-11-17 01:43:47 +03:00
levlam
bda15f31e4 Do not try to force file reupload too often.
GitOrigin-RevId: 533e25add08f00daf06c1ce1e42a111c930ef41e
2019-11-16 20:09:27 +03:00
levlam
afca63a4f4 Fix minithumbnail dimensions.
GitOrigin-RevId: cd854007a759af2ef7a6ab71c45e5c9ed020d2f5
2019-11-13 23:00:49 +03:00
levlam
7de4f8b078 Do not add messages sent via bot to list of active live locations.
GitOrigin-RevId: fdd83122b83f2b20d2ab460c9d27dcf320a53c4d
2019-11-05 19:20:13 +03:00
levlam
a0fa744735 Make FileEncryptionKey fields private.
GitOrigin-RevId: 06ec5e24b9154e1830fd3d37b833df60609c675a
2019-10-24 20:17:37 +03:00
levlam
0d375251a4 Fix logging of FileEncryptionKey by @chipitsine and cppcheck.
GitOrigin-RevId: 6292860a243435541a6c9632d0c214c495cd9835
2019-10-24 20:09:09 +03:00
levlam
ac60ef4c5a Do not allow recursive call to set_dialog_pinned_message_notification.
GitOrigin-RevId: 91db05f21ec2feb322efa9c9be5aa76b9f49ad3f
2019-10-23 21:53:26 +03:00
levlam
b25e039a99 Fix running getDifference from read_history_inbox.
GitOrigin-RevId: d756bf323db13a40f7e09f070d522ab61549b489
2019-10-22 20:15:40 +03:00
levlam
e37f7d1537 Add td::remove_if.
GitOrigin-RevId: d94733cbf251e8fc182c106f4cbf0cc84c0675a5
2019-10-20 01:51:17 +03:00
levlam
ee87414bab Fix misprints.
GitOrigin-RevId: e21e784c076005538ee889a61b12b8876567da13
2019-10-19 21:20:16 +03:00
levlam
3dc2716ee2 Drop invalid last_new_message_id.
GitOrigin-RevId: f9609a3cf52214f8d8f76b201afcd6fbd74ee1be
2019-10-18 17:43:31 +03:00
levlam
8f58e11020 Replace emptiness CHECK with explicit clear().
GitOrigin-RevId: 65a2a6b5c3f67845140a9d2182a1859bceaa9d7b
2019-10-18 17:27:15 +03:00
levlam
c597cfd121 Delete pending notifications in remove_all_dialog_notifications and remove_message_dialog_notifications.
GitOrigin-RevId: 913c5accbe16d6a1f455eb2db67c0453fcde6e7a
2019-10-18 17:21:00 +03:00
levlam
066407d7dd Pass from_mentions instead of NotificationGroup to remove_all_dialog_notifications.
GitOrigin-RevId: bd7d084bdf6cbfe0dacfc40e7d51d6fc8a8eac18
2019-10-18 17:02:34 +03:00
levlam
adbef28cd7 tg_cli: simplify as_input_thumbnail.
GitOrigin-RevId: cb856d9b71e24c026ddbca6f50c67222ed4b78bc
2019-10-18 16:03:42 +03:00
levlam
30250216e8 Never log updateReadHistoryInbox with 0 max_message_id.
GitOrigin-RevId: f4b3ca895e39f55318054268329d26b7932e41c3
2019-10-18 15:57:16 +03:00
levlam
3c880b13f7 Fix reuploading of generated files and thumbnail with invalid file_references.
GitOrigin-RevId: caf0df74bde926001188f867f6f1a098834da32e
2019-10-18 04:31:28 +03:00
levlam
6b001fedd9 Add basic protectiong from cyclic successful file reference repair.
GitOrigin-RevId: f0d3ef24dc95ed1f5ed06801abc435ee40c80f01
2019-10-18 04:30:49 +03:00
levlam
9fa88eb0ec Remove user/channel debug_source.
GitOrigin-RevId: a9d8fc3841d04e448ee6ef9a34b084d1d302257c
2019-10-18 01:17:46 +03:00
levlam
bee924a7a2 tg_cli: more arguments trim.
GitOrigin-RevId: ac437108a47582b7a697113b93f26569f47e4d3c
2019-10-08 18:19:35 +03:00
levlam
464deb816e tg_cli; add svttl and improve spttl.
GitOrigin-RevId: dfc8c81ce2ec65ddb5fd07863e57b6187856a59b
2019-10-08 01:01:01 +03:00
levlam
c91efe472b Add force to another overload of get_input_media.
GitOrigin-RevId: fc64a9f6ee08e5432c6475f8b1493bcd2524ae4f
2019-10-09 02:59:25 +03:00
levlam
ebcc1d0dc3 Strip empty characters in file names.
GitOrigin-RevId: 896c899c9d0893b467844b5640d8f65b240bc759
2019-10-04 18:00:51 +03:00
levlam
407f3d1c1a Add td_api::richTextUrl.is_cached.
GitOrigin-RevId: fb40f341fc6c621727a97e84cbc9fe6af2e8ad96
2019-10-03 23:40:58 +03:00
levlam
dcfa6d1ea6 Improve logging on failed CHECK.
GitOrigin-RevId: 34a9fdad6499503edca51c4c3136731d2c8acb8a
2019-10-03 23:23:38 +03:00
levlam
ef924d218d Better logging on invalid database data.
GitOrigin-RevId: f474f0493d701758836c3c0345ff8697b5be9ce5
2019-10-03 23:04:33 +03:00
levlam
9ed550bdb1 Use get_simple_config_mozilla_dns.
GitOrigin-RevId: 5b1605e5ca53485130dd12d727352f6e4682ffec
2019-10-03 22:28:01 +03:00
levlam
2e0949c10a Add get_simple_config_mozilla_dns.
GitOrigin-RevId: 53ffccf02ebd41d4b11146ae3b0206f6fa5db5aa
2019-10-03 22:20:15 +03:00
levlam
0e2898b81e Add td_api::notification.is_silent.
GitOrigin-RevId: bab4a0c401913177b9fc794ee510c912be3f2727
2019-10-03 21:58:50 +03:00
levlam
c74263ce3d Better log message when database can't be opened.
GitOrigin-RevId: d5aeadb0e89fb1c9391721f716801bc239b6d9b0
2019-10-03 20:38:47 +03:00
levlam
0167d9c3a6 Remove StorageManager::gc_parameters_ local variable.
GitOrigin-RevId: 7cb3e4595a7afe9681c0a6dc05249965b3243d4c
2019-10-03 19:30:31 +03:00
levlam
dcf3db3e98 Fix parse_sticker_set with an invalid sticker.
GitOrigin-RevId: 66734835e21c35fb3978f2311b9d582d1b65f0e6
2019-10-03 18:16:11 +03:00
levlam
61c883b971 Add check for max_unavailable_message_id validness.
GitOrigin-RevId: f5b32a7d3b122981456d5d63f40513526a633d06
2019-10-03 18:09:21 +03:00
levlam
a2cdc45fc0 Use unique file_id in UpdateProfilePhotoQuery.
GitOrigin-RevId: 80840de6532ef75bd1a2447d81cf4a6ad0e08e46
2019-10-03 17:45:11 +03:00
levlam
64f813fffb Add more logging.
GitOrigin-RevId: 1485d6332d7440fd63db756bfa8b250fe50b1cab
2019-10-03 17:21:05 +03:00
levlam
b20bd84e22 Do not update local online status for support accounts.
GitOrigin-RevId: b4bce82b6aaa160a2f7fc2897c44e20b05c2030a
2019-10-03 16:44:49 +03:00
levlam
5f94662807 Always treat pins as mentions.
GitOrigin-RevId: 8a573c3b67c198e246d81a1ff64b5a702b45fac3
2019-09-30 23:29:56 +03:00
levlam
fff1b6d4b5 Add input_media debug.
GitOrigin-RevId: f4285e14666cd4707e8737b8d2ae69fccdce0151
2019-09-30 18:02:52 +03:00
levlam
b282853c97 Ignore corrupted web pages loaded from database.
GitOrigin-RevId: 1233ad086176910d3fe6f6cf621d3cbfc36775bb
2019-09-30 15:27:22 +03:00
levlam
0b6c1d226f Update clag-format to the latest (190926/r372920) version.
GitOrigin-RevId: 7861ae8ad28eb1f6a06ff3c6f56eff3f67b1d24c
2019-09-28 05:14:21 +03:00
levlam
b34737a562 Close broken database before destroying.
GitOrigin-RevId: ed3729139c843caba7d54e02d80262d4fccb81ef
2019-09-16 22:01:55 +03:00
levlam
7fdaf3c530 Do not repair participant_count in deactivated chats.
GitOrigin-RevId: 3795e3e3571f4c580b70335470acf826f5b0e492
2019-09-16 03:54:09 +03:00
levlam
f29c4a9ed1 Remove unneded explicit td::.
GitOrigin-RevId: e3888510ce72a55072a11d105311f07b4ba42bbf
2019-09-15 06:19:46 +03:00
levlam
8949e040b8 Do not allow encrypted and web animated stickers.
GitOrigin-RevId: 78ea903caa414056180ed19c7a1a3f3873753b4a
2019-09-15 03:38:20 +03:00
levlam
865ccc7560 Invalidate ChannelFull on updateChannel update.
GitOrigin-RevId: 081f68486d1555ba9cbcd5f954663a55c6551c00
2019-09-15 03:34:05 +03:00
levlam
06039ab496 Comment wrong CHECKs.
GitOrigin-RevId: 2111ac12ea1d7ebe07348457c7a1c962306474ae
2019-09-13 21:35:37 +03:00
levlam
afb034e512 Remove @ya username.
GitOrigin-RevId: 1c5b9d7f07b420c81a28662197ef757dd96dd263
2019-09-13 20:17:22 +03:00
levlam
aa8e1a3ec5 Fix previous commit.
GitOrigin-RevId: 3102c40ce2768544d73fe7c1a6b1308259a0837c
2019-09-27 04:57:42 +03:00
levlam
33d684d684 Represent empty IV cells as null.
GitOrigin-RevId: 2a087121c7a676e95165b72ed09e002c2323ddd8
2019-09-27 03:42:26 +03:00
levlam
17cc3b93f0 Add td_api::pageBlockVoiceNote.
GitOrigin-RevId: 4f5fdd595abba78863cf2e825c492b4ee99a11a3
2019-09-27 03:21:55 +03:00