Commit Graph

3251 Commits

Author SHA1 Message Date
levlam
2a92f4cf6b Add support for basketball dice emoji.
GitOrigin-RevId: 14ee79e80310d468f7acbb6693b56379c76b3bd2
2020-05-17 01:28:56 +03:00
levlam
588113388d Do not create special sticker set for unknown dice emojis.
GitOrigin-RevId: f704a86e9c5ade800f50a8296ea581d111fc84d7
2020-05-17 01:06:23 +03:00
levlam
0581b298cc Fix some IP address spelling.
GitOrigin-RevId: ca1e3f4110057c3badbd9c5898593a65b72410e2
2020-05-16 23:32:32 +03:00
levlam
5b18a56e03 Add IPAddress::get_ip_host and use it whenever appropriate.
GitOrigin-RevId: 7254ebd036463fe2c8b6262269cbee843b320421
2020-05-16 23:12:52 +03:00
levlam
9fe0d4bbd9 Do not remove brackets from HttpUrl IPv6 host.
GitOrigin-RevId: 59db5b747e66bd83cbfa81d4276af2aa1bb8b7ca
2020-05-16 22:53:19 +03:00
levlam
ea9caab8bc Fix can_delete flags in updateNewChat.
GitOrigin-RevId: 715cca8966860c61b444fbe5ee83aaf884f3af4c
2020-05-16 03:16:11 +03:00
levlam
8ffc211e43 Do not use Dialog.order before first update_dialog_pos.
GitOrigin-RevId: c5ccea51ed3831db0deada3ebe2626ae9ee3d3a1
2020-05-16 03:03:40 +03:00
levlam
18bbec3565 Try not to use SWLite key-value while closing.
GitOrigin-RevId: 1b0c6df484ffa9b2831a1a7ccc0fb62a9ad80b5a
2020-05-16 02:45:26 +03:00
levlam
b29a945b1a Ignore SQLite key-value responses after close.
GitOrigin-RevId: a91a2dbbf8efcda91959aabfcaca964caa6fe3c3
2020-05-16 02:25:03 +03:00
levlam
ebf10667b7 Added support for animated thumbnails in inline animations.
GitOrigin-RevId: 5a8830d6e89256900335b8667405b2f81f22f5bd
2020-05-15 19:48:21 +03:00
levlam
d647a2a2e8 Represent photo format as enum PhotoFormat.
GitOrigin-RevId: 9205a8c775111ff394e7c32bc52d343b41e53379
2020-05-11 22:17:49 +03:00
levlam
2def12b70f Save only Main/Archive folders to database as index folders.
GitOrigin-RevId: 17d72a332c487c9207db2d3dc95788829a55dca8
2020-05-11 18:00:03 +03:00
levlam
03c93c5417 Ignore database results when closing.
GitOrigin-RevId: 12355cd62a7d6474e857c811579fb46a802c02f4
2020-05-11 16:21:23 +03:00
levlam
42f88e3b72 Remove whitespaces at the beginning of some entities.
GitOrigin-RevId: b0597524571c15b3ffbfec613cb856bfa6e7a224
2020-05-11 01:31:29 +03:00
levlam
f88735b9a9 Do not highlight parts of float numbers as bank card numbers.
GitOrigin-RevId: cc58f030c6485c393f115fb89a4e9a5b2e6b40b9
2020-05-07 23:11:54 +03:00
levlam
f2cb3afaef Increase maximum photo size for upload by hash.
GitOrigin-RevId: b7dbcaf4710d04b03fc8eaf1d0c1c51ad5224829
2020-05-07 18:37:49 +03:00
levlam
e941622e32 Ignore file_reference errors for bots, because corresponding file_ids may not be duped.
GitOrigin-RevId: 3cf82083a6d3e5556f665bad9ad00e216c7901a0
2020-05-07 15:56:57 +03:00
levlam
5fe9d5feee Fix forwarding as copy of photos to a lot of chats simultaneously.
GitOrigin-RevId: 27edf34c58447a9c2bfd9e1a2679f69b0e05c076
2020-05-07 15:43:53 +03:00
levlam
af5eed2abb Log before checks.
GitOrigin-RevId: 16b87eb9a1d763e85007de1253ada424c566ed0e
2020-05-07 03:43:11 +03:00
levlam
0d85bc39cf Use case-insensitive scheme comparison in check_url.
GitOrigin-RevId: d5c9cb66c49194d5264b63871aaabcc6768aaac4
2020-05-07 03:21:05 +03:00
levlam
bc5415ba88 Fix file reference repair for bots.
GitOrigin-RevId: a73a960140e6b6866d8e53dd312a25258ea03d95
2020-05-07 01:54:47 +03:00
levlam
e9118c7bd5 Improve logging.
GitOrigin-RevId: 4d0cf9d0c6bc1fb1db353e2bc4ea8b7149ef7903
2020-05-07 01:50:47 +03:00
levlam
4d9b8cf016 Update strip_empty_characters.
GitOrigin-RevId: 480beb7b352b28f59f65a63fd1d4550d8e16803f
2020-05-07 01:21:05 +03:00
levlam
c376c1ac08 Add comments about disallowed animated stickers.
GitOrigin-RevId: 52115deae5121cb29b332a6d9782cdd4506d8ce0
2020-05-06 00:56:44 +03:00
levlam
9ade35d9ba Do not allow sticker set name in decryptedMessageMediaDocument.
GitOrigin-RevId: bf82ae795b24e265aab815e8a47ca20ece894a21
2020-05-05 19:41:01 +03:00
levlam
3cd9d6482f Log session_count only if it is more than 1.
GitOrigin-RevId: e5018d2ce3ab363191e6bcb6798ce4f92741c2ee
2020-05-05 13:54:32 +03:00
levlam
e5f99f0691 Fix get_dialog_public_order.
GitOrigin-RevId: 0775a5b925d4eec8f5d93b16cdfe462af310437a
2020-05-05 03:59:42 +03:00
levlam
390d66e3d2 Improve match_bank_card_numbers.
GitOrigin-RevId: 1df7c2fc487a66ba12e92d80d63e355d1490cef5
2020-05-05 03:15:30 +03:00
levlam
033ae55a46 Add CHECKs that data is not overwritten.
GitOrigin-RevId: 55c74cf6b6526d1b506242e9423a46c3118ac64e
2020-05-05 01:07:13 +03:00
levlam
e45e13c77f Force result of get_imput_media for bots.
GitOrigin-RevId: cbcd38739402f494ff1b687d67d6bd3677c8e9fc
2020-05-05 00:42:37 +03:00
levlam
5e02099069 Improve logging.
GitOrigin-RevId: ea4019e25d2e9413c5eed2d5dde5a7c9b58e1d1a
2020-05-05 00:37:27 +03:00
levlam
69ddff66bc Silence expected warning.
GitOrigin-RevId: f32e419fb5a4da3663138be0fcef05475994caa4
2020-05-04 22:28:55 +03:00
levlam
d6404db146 Remove unneeded logging.
GitOrigin-RevId: 473cab6f91a53360e2a696cc50a48c018ce705c6
2020-05-04 21:52:15 +03:00
levlam
554fbe1b8b Fix warning.
GitOrigin-RevId: 1994fbdc73aa41db3f14a063e4b97dfcce4976a1
2020-05-04 21:27:32 +03:00
levlam
4558916bd9 Add get_dialog_private_order.
GitOrigin-RevId: 11938649209ec923bb5ca26e7788943561df6780
2020-05-04 16:33:42 +03:00
levlam
99ffc0c5da Add logging.
GitOrigin-RevId: 4e039d5973121b82dcf118ba34a6a5835b6f7502
2020-05-04 03:01:01 +03:00
levlam
c8f56c62d8 Do not try to reuse file_id without remote location.
GitOrigin-RevId: 2dd994de062d1f640982923e4a7970fd7bbda583
2020-05-04 16:01:35 +03:00
levlam
f2e549e361 Do not dup remotely available files for bots to fix bad FileManager performance.
GitOrigin-RevId: adbd9e3fdfdf249572472bcbccfea030c75a6992
2020-05-03 15:44:33 +03:00
levlam
8826f2690d Fix check_url.
GitOrigin-RevId: 5d1323203cef7a8e74927daaa28fbdca364ffe32
2020-05-03 15:27:26 +03:00
levlam
91f79a41e7 Fix removing sponsored dialog.
GitOrigin-RevId: d782395e217b44b0f9aa46d748fabd8aa3b24acd
2020-05-03 15:23:28 +03:00
levlam
68ccc65bb4 Add searchMessagesFilterFailedToSend.
GitOrigin-RevId: fdae4552eea6fdbb28906d43963aa6001e7b9401
2020-05-02 00:50:51 +03:00
levlam
767766ae13 Add MessagesManager::invalidate_message_indexes.
GitOrigin-RevId: e50464c956d38eec8784b72311cb24e654563674
2020-05-01 22:43:05 +03:00
levlam
75ba29bffe Add source to get_channel_full_force.
GitOrigin-RevId: 0a7a17f21e906322f572fac0409fd49827702884
2020-05-01 14:18:40 +03:00
levlam
8d2f08ebb2 Silence expected warning.
GitOrigin-RevId: 6d9d0da04e8d95e4a5ed8dcd48eb90be1ff1bdb7
2020-05-01 12:19:52 +03:00
levlam
3b4483677c Do not drop username, location and linked chat of channels banned in.
GitOrigin-RevId: 2186c21d024c4d099d9bd4b0d537ff374c920553
2020-05-01 02:54:40 +03:00
levlam
b23ff9697b Allow left creator to restrict/unrestrict channel members.
GitOrigin-RevId: 60c1e54b9c1b275f0038bb4ebc35c57662010711
2020-05-01 01:57:24 +03:00
levlam
8bbc32e21c Drop UserFull cache when phone number privacy is changed.
GitOrigin-RevId: 4ff14b72fa4b903c9358a1a10023e7b5f3775ff8
2020-05-01 01:21:02 +03:00
levlam
c7003cda2b Allow to start bots with sendBotStartMessage.
GitOrigin-RevId: 1dd84ae576c463a60189b0cdd9642bb8c10f8820
2020-04-30 23:21:37 +03:00
levlam
0eb0654bd6 Allow bots to receive updates.channelDifference without changed pts.
GitOrigin-RevId: 26f4effa096105254d2ba17db753103830eab2f0
2020-04-30 23:15:12 +03:00
levlam
0b1b9be4ef Increase version to 1.6.4.
GitOrigin-RevId: e8b8559a415908ee71a26f7023f79143899a3822
2020-04-30 22:30:38 +03:00