Commit Graph

315 Commits

Author SHA1 Message Date
levlam
713608ada1 Safe and reliable device token re-registration.
GitOrigin-RevId: 25273051c41ced913d1762a42cc0e19d36149a27
2020-01-01 19:38:54 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
3d574e39c3 Fix login link URL.
GitOrigin-RevId: 064e31b5b095db03ccd7cb9cb3b4e1fabc92aba0
2019-12-31 16:20:29 +03:00
levlam
395a96a764 Fix access to SWLite database.
GitOrigin-RevId: 2d94441b1a1213e4c4b6f97d9a37f238c344ae72
2019-12-31 04:53:01 +03:00
levlam
ba5ccf48c6 Add source to on_get_sticker_set.
GitOrigin-RevId: 90cccf55f20fc5dafb6c76a2f780f19a818487cf
2019-12-29 04:59:34 +03:00
levlam
7e1fa1fcb9 Better warning silencing in force_create_dialog.
GitOrigin-RevId: 2f10cbe2091f2d2d8e15de8e813c5997954f9900
2019-12-25 22:57:12 +03:00
levlam
1fc1b76d5e Better logging for results of getChannelParticipant.
GitOrigin-RevId: 08918a4577fa4e7337903e221a96ceb3534c11a4
2019-12-25 20:31:27 +03:00
levlam
8da2d89884 Fix warning.
GitOrigin-RevId: 635b716f371f5e86cfe4d599d573dc46558ae14c
2019-12-23 18:39:20 +03:00
levlam
b85302f928 Add direct cache for linked channels.
GitOrigin-RevId: 1d994bd0aef96c379312a4be776b7a107cd175da
2019-12-23 18:37:11 +03:00
levlam
738fec0d41 Fix assigning of min access_hash.
GitOrigin-RevId: e6b1a815e287a399c7af9e2cac6a1238c0715e17
2019-12-23 05:11:57 +03:00
levlam
dd1ae68f57 Fix documentation.
GitOrigin-RevId: 4c3bc6a52792adf79e055132dcd3ec9f8fb4186c
2019-12-23 01:55:14 +03:00
levlam
c093afbf68 Add source to get_channel_full.
GitOrigin-RevId: 4df2ac6b75f92359bf838226f707742764e92209
2019-12-20 17:17:06 +03:00
levlam
aa7d8c06bc Add logging in repair_dialog_action_bar.
GitOrigin-RevId: 3aaf69fc3b5f366b00617e52e917a36381b87c2f
2019-12-20 16:32:56 +03:00
levlam
cefc10e0ba Send updates when ignored_restriction_reasons changes.
GitOrigin-RevId: 8c30b41dfb3a34c9eca3d8a7be4622ee172593de
2019-12-20 16:11:58 +03:00
levlam
98782fb644 Fix warning.
GitOrigin-RevId: 8c7d5d5e8a3503d56ba0edc0b303a6ab09baa827
2019-12-20 05:07:00 +03:00
levlam
b49d4076c8 Preload created channels to correctly transfer ownership.
GitOrigin-RevId: 2741d029d494e4b1ac40d74e70bfb603e988676a
2019-12-20 03:09:25 +03:00
levlam
369345f47c Add ContactsManager::for_each_secret_chat_with_user.
GitOrigin-RevId: bf81c627a6d4cf00ff5b6c8882079cce23d636f3
2019-12-19 00:31:01 +03:00
levlam
0594b9e795 Do not send chat actions to bots, deleted users and users with hidden online status.
GitOrigin-RevId: 8bd7c272b34ae6d977e58e89f0e76a158f02f150
2019-12-18 18:57:21 +03:00
levlam
02e7697d02 Reload animated emoji sticker set only after getDifference.
GitOrigin-RevId: b69b2b4c51f934a2aeb04b7805408acdcf393417
2019-12-18 17:46:02 +03:00
levlam
9f60d0bae1 Support QR code authentication.
GitOrigin-RevId: 140381ee80339b5ac2e15f149ad3a37688200e88
2019-12-17 19:17:57 +03:00
levlam
7620e43376 Return back checks for duplicate chat info log events.
GitOrigin-RevId: dee7372981433f603137f264ca0e490cd51226f7
2019-12-15 23:48:35 +03:00
levlam
3ec96b4c30 Remove channels from inactive channels list on new message or after leave.
GitOrigin-RevId: 8c9723ed489a714df0b70abe465c04eba1265b0e
2019-12-13 17:57:00 +03:00
levlam
71ddd7c7e3 Add getInactiveSupergroupChats method.
GitOrigin-RevId: 45b15965e50ab5d153a0de4e575fab6ac22eed11
2019-12-13 17:27:44 +03:00
levlam
46ed865570 Add chatAdministrator.is_owner.
GitOrigin-RevId: 8ba5a2e7b175cb5595a4d26e8050311960063938
2019-12-07 23:38:05 +03:00
levlam
bf0bc88e19 Better name for has_scheduled_messages.
GitOrigin-RevId: 8563f78409e3142baa21ac70f6c5bdeb1728c274
2019-12-04 20:51:52 +03:00
levlam
6b24886bf0 Partial support for scheduled message IDs.
GitOrigin-RevId: 752336efc26fb73a038801b99b490d0f68163b04
2019-11-26 23:47:13 +03:00
levlam
099e767b6b Add ServerMessageId.h.
GitOrigin-RevId: f71d1f41f84c2263890875271f47f938e792aa55
2019-11-26 19:33:18 +03:00
levlam
5b1d363918 Add Chat.has_scheduled_messages flag.
GitOrigin-RevId: 6d7f211647c738d5912476232e8842c245d1f884
2019-11-25 19:11:24 +03:00
levlam
e4eb01ad17 Automatically parse restriction reasons. Add option "ignore_platform_restrictions".
GitOrigin-RevId: 58de3f0dffb97b3d5c73aa3764aa5d48da1b709d
2019-11-24 01:37:46 +03:00
levlam
c5cc0e90f6 Update layer ro 106.
GitOrigin-RevId: 41e5db3d090559a7403accc8057c9957e6ead02d
2019-11-21 22:57:20 +03:00
levlam
0f353009f8 Improve slow mode.
GitOrigin-RevId: 068774033f5c84165e4833dafa29789d307ab97b
2019-11-21 16:58:00 +03:00
levlam
97cdacff7b Update slow_mode_next_send_date when a message is sent.
GitOrigin-RevId: d373e4685a4c6b717272844b50da8fb3139b2f64
2019-11-21 02:41:53 +03:00
levlam
2415d28b4e Send update after slow mode delay expires.
GitOrigin-RevId: 90b18c2a75f1e39ac967ebc3bbce84145769b2d8
2019-11-21 00:40:34 +03:00
levlam
fb90abcccc Add slow_mode_delay_expires_in.
GitOrigin-RevId: 118cd722f73982fc86823b28358f7111848d3b1a
2019-11-20 21:25:00 +03:00
levlam
9d4512d2bd Drop slow mode delay after is_slow_mode_enabled was changed to false.
GitOrigin-RevId: 63a492c8203eee4b99d2c3db4e6e9c63ba77fe73
2019-11-15 19:27:12 +03:00
levlam
119225ccef Add supergroupFullInfo.slow_mode_delay.
GitOrigin-RevId: 361741fc9f2e6a89be4b0a74749df5c035533d67
2019-11-15 16:48:01 +03:00
levlam
e12f7ac3e0 Add td_api::supergroup::is_slow_mode_enabled.
GitOrigin-RevId: cdbf1140507fe85dcb54cfc8831436d46762f27d
2019-11-15 15:46:12 +03:00
levlam
6d08f29fe9 Remove now unneeded backward compatibility fixes for bots.
GitOrigin-RevId: e53a2dc430b1eb02042b5f811471c4cec3b555d4
2019-11-13 22:34:32 +03:00
levlam
0c3e15026f Reget ChannelFull if it was changed between request was sent and the result was received.
GitOrigin-RevId: d05439fc5735b156cd4be9ac6547fcce18aa5150
2019-11-11 22:07:12 +03:00
levlam
43d8e6ccdb Return administrator ranks from getChatAdministrators.
GitOrigin-RevId: 8e3e540ae73aebacf9a3fe954b2b81511c999953
2019-11-11 19:14:32 +03:00
levlam
fbbf6470f3 Add support for administrator custom titles.
GitOrigin-RevId: a580b4713daa4746f5cd15e96c438fe179aea893
2019-11-11 10:02:23 +03:00
levlam
56eb8e0f9a Update layer to 104.
GitOrigin-RevId: a83eaf0a77fba5ccb0d34f690b2031c2ff5550f2
2019-11-08 19:23:05 +03:00
levlam
0b4b81282d Fix invalid is_mutual_contact flag loaded from database.
GitOrigin-RevId: 87196eef3a6c7f78c642014fcef3fcf7e8609ebd
2019-10-23 18:48:42 +03:00
levlam
1e018da7b8 Various fixes.
GitOrigin-RevId: b09e5fda6d25bd027f6bcbcbbe8324567b8ddcf8
2019-10-22 20:01:15 +03:00
levlam
0e874a5247 Add td_api::checkCreatedPublicChatsLimit.
GitOrigin-RevId: 9364cd09348ece39d56cbc8882fa8bfef36df18c
2019-10-22 14:06:46 +03:00
levlam
892a091998 Add support for location-based supergroups in getCreatedPublicChats.
GitOrigin-RevId: b328d62a998dc2e2b83d9721e001f9feee129d4e
2019-10-22 13:40:24 +03:00
levlam
918f6a0cfd Use td::contains and td::remove instead of std::find if possible.
GitOrigin-RevId: faa0863eb49ee8ce4c2138dfec022620f71d2f6a
2019-10-22 02:12:58 +03:00
levlam
e84e131efd Use td::remove instead of std::remove.
GitOrigin-RevId: f64e6d2199f1b9049e2bc022de1f65c9efba6647
2019-10-22 01:29:19 +03:00
levlam
86925625fd Rename need_send_update to is_changed.
GitOrigin-RevId: a40a5c0385d623e0023d5f6ed18c91d8605b5493
2019-10-22 00:29:24 +03:00
levlam
698c1d2160 Rename is_changed to need_save_to_database.
GitOrigin-RevId: dbf8292104a6e51dcc351bef94f6e220c1442265
2019-10-22 00:06:24 +03:00