Commit Graph

1920 Commits

Author SHA1 Message Date
levlam
3bf9bae32f Better fatal error message on message_id overflow.
GitOrigin-RevId: d920ec7f39d43bd8578a49f85567949a14edcff2
2019-05-12 02:06:32 +03:00
levlam
a7ef1062a5 Do not add chats without notifications to notification settings exceptions.
GitOrigin-RevId: 64006dfd576b4d1483ba22068bc20de409bc0c64
2019-05-12 01:44:35 +03:00
levlam
f8ccec8a44 Add BackgroundManager::on_installed_background.
GitOrigin-RevId: 41c6ea74772817416342896c83b90a37a2e4f087
2019-05-11 23:27:17 +03:00
levlam
a156f3dee6 Add td_api::removeBackground.
GitOrigin-RevId: f4a2e293f003207a7f224de7fc8dd3de04a9f942
2019-05-10 23:55:26 +03:00
levlam
db2ac0ed98 Support td_api::updateSelectedBackground in getCurrentState.
GitOrigin-RevId: 06352042ba464af8fc66101e53f51e905dadbd3b
2019-05-10 19:04:14 +03:00
levlam
57e0b917b8 Add updateSelectedBackground.
GitOrigin-RevId: 78ca327ff6da27da19fc6a05e2354af969b42bfb
2019-05-10 18:55:55 +03:00
levlam
2366eb9b9b Make set background persistent.
GitOrigin-RevId: 72085619d3dde9e5609de7d382b14748a1491963
2019-05-10 17:58:44 +03:00
levlam
c3d126cbf6 Support solid backgrounds in searchBackground.
GitOrigin-RevId: 48e242b53ca1d4c4b2fcf5d8858de2f74f28d1e1
2019-05-10 16:06:53 +03:00
levlam
652d2a9570 Add td_api::setBackground.
GitOrigin-RevId: e0c38213b41942ed8a5163ca7eb4ea61caa71d7b
2019-05-10 15:36:37 +03:00
levlam
e39b4fae83 Fix SESSION_REVOKE push handling.
GitOrigin-RevId: 364cddfa123bb8c9cfe300c58ea37ef3d5570c36
2019-05-09 22:52:37 +03:00
levlam
8e669d3c2e Add BackgroundType.{cpp,h}.
GitOrigin-RevId: 1945d764af4b818505960eb82cf5781fb9df973f
2019-05-09 22:27:36 +03:00
levlam
90ab672030 Fix lost promise in ReportChannelSpamQuery.
GitOrigin-RevId: 61abcd89b6753d6f863f1dd72bc45b30a1f09ec7
2019-05-09 15:22:47 +03:00
levlam
c2a370262c Better DcId logging.
GitOrigin-RevId: b1fe45b3ecd06ca6869a60124078930b2129b972
2019-05-09 05:01:45 +03:00
levlam
88febd4aa0 File reference support for backgrounds.
GitOrigin-RevId: e4c7f0ee8e6be2341e51f7ef86edfcd264089e3c
2019-05-09 04:07:21 +03:00
levlam
e25933305d Add td_api::searchBackground.
GitOrigin-RevId: 3bd7fe3da8e8919b02669f7c7bb76e3252c000d3
2019-05-07 18:21:57 +03:00
levlam
d8f95c3ea0 Add td_api::getBackgroundUrl.
GitOrigin-RevId: d9f55ce5f4d6630795fc269b3c19045376393d84
2019-05-07 17:10:20 +03:00
levlam
85dd77b02c Initial background support.
GitOrigin-RevId: 14d3a1166f837069c55f40036a633295600524ca
2019-05-07 05:51:56 +03:00
levlam
db59a7f2cc Add more debug.
GitOrigin-RevId: 890a15de0a264b155a28e36f09977f58d26986c3
2019-05-04 17:33:23 +03:00
levlam
441d224878 Skip non-contacts when searcing contacts on channels.
GitOrigin-RevId: 9db95ac20b76e3f274eb7dbc758e00f3b84d2cd4
2019-05-04 03:15:49 +03:00
levlam
0184df07f3 Probably fix race in reusing notification group.
GitOrigin-RevId: d7359c1d22ad7aecead1844696915c3946c158dc
2019-05-04 01:03:10 +03:00
levlam
bcb7a9f6d2 Fix total_count in SecretChat notification group after notification removal.
GitOrigin-RevId: 7bedbb220b3e5e59e3c6c293db9bed6819c01128
2019-05-03 23:36:01 +03:00
levlam
e69463f81d Remove commented NotificationType::get_type().
GitOrigin-RevId: 23427ab1484fcba8dbaa81e770957c3d587f8d3a
2019-05-03 23:22:49 +03:00
levlam
92462100e8 Add delete_dialog_history_from_server debug.
GitOrigin-RevId: 617d5ccdcbd9e753ad3902a917b68896619fe06b
2019-05-03 17:16:21 +03:00
levlam
d92af070c4 Add misaligned pointer debug.
GitOrigin-RevId: 83e3727e541c490029c6ebf19188a8b866779088
2019-05-03 16:53:34 +03:00
levlam
3c6f21d5a3 Trying to fix recursive call of actor.
GitOrigin-RevId: 7796903536a43bc5ee149fe8b937ce8e7d377b02
2019-05-03 16:44:52 +03:00
levlam
68b2d10fdb Add td_api::phoneNumberAuthenticationSettings and support automatic code retrival from SMS on Android.
GitOrigin-RevId: f97bd5bf3eb7449da1b14242fa47537801657b04
2019-05-03 05:44:59 +03:00
levlam
eed517a2e7 Fix bot permissions.
GitOrigin-RevId: 86929755cff1673c3404beeff2a6bfbfcb2e2365
2019-03-22 18:32:06 +03:00
levlam
e83184f9fc New chat permissions checking.
GitOrigin-RevId: ef555c6cb407efbf3092cda554b1992155c6e1e4
2019-03-22 18:18:46 +03:00
levlam
046be9b785 Better apply_restrictions for administrators.
GitOrigin-RevId: 3ea51eefe47c54cddf4d6880fd62869f94ac5434
2019-03-22 17:04:01 +03:00
levlam
5e69f957f3 Add get_cha{t,nnel}_permissions.
GitOrigin-RevId: 7d00023ed7497f89cc3895c9a1d4f267f7332922
2019-03-22 15:23:44 +03:00
levlam
2a0f26d24e Add td_api::chatEventPollStopped and td_api::chatEventPermissionsChanged.
GitOrigin-RevId: 2f8af49d048392649ce23040f590ec71bf15c061
2019-03-20 23:13:11 +03:00
levlam
c636408a7a Remove unneded mutable specifiers.
GitOrigin-RevId: 528550993874adb2ff29f9f88273339937919c8b
2019-03-20 21:13:45 +03:00
levlam
9b8a5438be Add td_api::setChatPermissions.
GitOrigin-RevId: ce072b20283e5a1887bd94fea33ad4d0cb4ec5b9
2019-03-20 20:58:13 +03:00
levlam
e71b749a79 Add updateChatDefaultBannedRights support.
GitOrigin-RevId: 1e938066789b61f5f14003c268a62965fcc31a30
2019-03-20 16:32:27 +03:00
levlam
454d8d3987 Add td_api::chatPermissions support.
GitOrigin-RevId: 38cc232035e54665e140772b13316c31ecc38df6
2019-03-20 15:28:06 +03:00
levlam
ada302aaf2 Support default restricted rights in channels.
GitOrigin-RevId: 71ca596fcaaa31217bd1e8431d3e6202ebcd43f0
2019-03-19 18:55:10 +03:00
levlam
e6d968963b Support new rights in chats.
GitOrigin-RevId: 0cfc8de697a1eed2a323907c36b36b6b634e42b6
2019-03-19 18:13:16 +03:00
levlam
6c5010a807 tg_cli: add GetSupergroupContacts.
GitOrigin-RevId: 3b752e33d64640dc84881e778dade3fcf50869e5
2019-03-18 22:22:50 +03:00
levlam
d22ba35f88 tg_cli: simplify testing of td_api::getSupergroupMembers.
GitOrigin-RevId: bd28265cc385b5daf1b5b54241b94a26e3272e84
2019-03-18 05:45:36 +03:00
levlam
bc736d0cc5 Add supergroupMembersFilterContacts.
GitOrigin-RevId: 56dee642cebc5f71918be82219a39d4ad3e4f615
2019-03-18 05:36:47 +03:00
levlam
ed3e4b7d67 Add basic group description support.
GitOrigin-RevId: 030f1a2c149fd085f90a4153e7c76a6adb14e00c
2019-03-18 05:24:25 +03:00
levlam
3ecf990ad6 Update layer to 95.
GitOrigin-RevId: 0d6b470b6ca6f72b5b87fbd899aaeae8892f8834
2019-03-15 16:52:55 +03:00
levlam
547720ccf6 Remove export dialog invite link admin right.
GitOrigin-RevId: 0960bf0f6ecac10e714769089a0fbda347b459d8
2019-03-08 04:04:30 +03:00
levlam
43483e743d Update layer to 92: minithumbnails support.
GitOrigin-RevId: a2e3bba42504cdaf91db1e0113bc98c450ba78c9
2019-03-01 22:51:33 +03:00
levlam
e8a77c6ff2 Improve logging.
GitOrigin-RevId: c8b36adceffd8e4d47d6c59a81703681bed6997b
2019-06-06 20:26:11 +03:00
levlam
d19de66284 Check call notification group ids before reusing them after restart.
GitOrigin-RevId: b26116afbefa697f4493dd316fe3bd7b14ee2f9e
2019-06-06 20:12:10 +03:00
levlam
63b3831437 Do not warn on more useless updates.
GitOrigin-RevId: ac59539f2c34aec22dbbad5863ce052da0a300f6
2019-06-06 18:35:46 +03:00
levlam
a4d89470f2 Do not warn on deleted users returned as administrators.
GitOrigin-RevId: 8facbb4a76bf489ce59c9e34d98dc49c6112edb6
2019-06-06 18:30:18 +03:00
levlam
7b0be02503 Copy BufferSlice before saving user profile photo.
GitOrigin-RevId: f4a4e8dcae1eeea6d8111705d3cd4fbaaa805bf4
2019-06-06 18:09:48 +03:00
levlam
54296a1ed8 Fix stopping FileGC when closing.
GitOrigin-RevId: c265738cf08aecf35766ad986f7e90f39c7503e3
2019-06-05 04:53:43 +03:00