Commit Graph

98 Commits

Author SHA1 Message Date
levlam
a599557c9d Support some updates before authorization.
GitOrigin-RevId: 21bd7a06bf41ebc81005b35a0695988d82e6b4a3
2020-03-30 01:48:44 +03:00
levlam
3d07b45a21 Update layer to 111.
GitOrigin-RevId: 47862200a12f3b5b9e5058192d5e9a9cdca862aa
2020-03-14 01:56:47 +03:00
levlam
b8848a2ab4 Simplify NetQuery creation.
GitOrigin-RevId: a01e72f8e196b405dd28dfd75d16cadc7127ec4a
2020-03-16 00:17:11 +03:00
levlam
190419bf8b Early exit from fill_gap on closing.
GitOrigin-RevId: 1c31a0a673ae9aa6b091361cd3f86a2f3b6a40f2
2020-02-10 02:56:32 +03:00
levlam
945a3a1dc3 Fix applying of postponed updates.
GitOrigin-RevId: 924efd81a5dfd4235f55a0ddfdf1c94b76fd8dd2
2020-02-08 23:31:27 +03:00
levlam
660acfef22 Allow outdated unacceptable updates to avoid getDifference after trying to apply every such pending update.
GitOrigin-RevId: 61944ec2b4e81fa2ca61bee5887220964e0c9cbc
2020-02-04 04:06:20 +03:00
levlam
d56696c9da Better logging on applying postponed updates.
GitOrigin-RevId: b42003117c3a4cb7bf3bed8485dad4a04ca94938
2020-02-03 20:13:37 +03:00
levlam
6d15cc7bf0 Add updatePollAnswer.
GitOrigin-RevId: 472f91830667f52317f03636f3ab2c37bca32d43
2020-01-13 22:56:59 +03:00
levlam
a7501e1582 Update layer to 109. Add new poll types.
GitOrigin-RevId: cc82f1bfdf1d4cd906212009f2dc8d84e0cb543a
2020-01-11 03:46:26 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
ba5ccf48c6 Add source to on_get_sticker_set.
GitOrigin-RevId: 90cccf55f20fc5dafb6c76a2f780f19a818487cf
2019-12-29 04:59:34 +03:00
levlam
9f60d0bae1 Support QR code authentication.
GitOrigin-RevId: 140381ee80339b5ac2e15f149ad3a37688200e88
2019-12-17 19:17:57 +03:00
levlam
1dd4e1a767 Add td_api::updateMessageLiveLocationViewed.
GitOrigin-RevId: 2c9d6e1317e6604a23e30efab0dfa21a2e88f01d
2019-12-13 21:05:10 +03:00
levlam
ce7530c495 Update layer to 107.
GitOrigin-RevId: 27d0ed420224bced55d249bdb7afc549d75a2514
2019-12-13 05:15:59 +03:00
levlam
5e99992420 Ignore wrong still_unread_count in updateReadHistoryInbox from getDifference.
GitOrigin-RevId: 8742c705b048c92fc3af3938d599b2e525170be8
2019-12-06 22:17:22 +03:00
levlam
8bee3c715f Support sending scheduled messages.
GitOrigin-RevId: 64d8e451182313ba95e5af0ae4f9af9f08330475
2019-12-05 20:34:19 +03:00
levlam
f34a515e70 Support updateNewScheduledMessage.
GitOrigin-RevId: 09e706ddb7eab36e139bc6619a92272dcaef1fa4
2019-12-02 19:30:35 +03:00
levlam
bfd3d653a7 Support updateDeleteScheduledMessages.
GitOrigin-RevId: 9f2d0cf00a3e6ffe20c1b0834cad69fbb0861ad7
2019-12-02 19:20:54 +03:00
levlam
b13213f9cb Add is_scheduled parameter to on_get_messages.
GitOrigin-RevId: 534179758c55494fce0005d8aceaa74a2c3d7247
2019-12-02 00:11:15 +03:00
levlam
099e767b6b Add ServerMessageId.h.
GitOrigin-RevId: f71d1f41f84c2263890875271f47f938e792aa55
2019-11-26 19:33:18 +03:00
levlam
c5cc0e90f6 Update layer ro 106.
GitOrigin-RevId: 41e5db3d090559a7403accc8057c9957e6ead02d
2019-11-21 22:57:20 +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
1e018da7b8 Various fixes.
GitOrigin-RevId: b09e5fda6d25bd027f6bcbcbbe8324567b8ddcf8
2019-10-22 20:01:15 +03:00
levlam
47625f39f0 Add support for users and groups nearby.
GitOrigin-RevId: 98bde4f064541a0b8d6200092db0f3bc7f192b1f
2019-10-16 21:55:16 +03:00
levlam
9e8512411c Combine block_user and unblock_user.
GitOrigin-RevId: 50c31ba274a7a5b70efe68ee8d307541e65eb48c
2019-10-11 18:31:16 +03:00
levlam
a5a69812e5 Add updatePeerSettings support.
GitOrigin-RevId: 0e5a18b57dea6cf82aa00996fd8ddb8fcca11313
2019-10-10 19:07:49 +03:00
levlam
99f4abb249 Update to layer 102. Replace LinkState with is_contact/is_mutual_contact.
GitOrigin-RevId: 33061b18ac72711f4df168fb27497bccb36d3367
2019-10-07 22:51:03 +03:00
levlam
408a456589 Add strongly typed StickerSetId.
GitOrigin-RevId: 518121f89e3a4c95ab5a2095a9bc2217090911de
2019-09-18 06:55:43 +03:00
levlam
eddbbe0d42 Process updateFolderPeers before new messages.
GitOrigin-RevId: 53baf318d3bf1d1f356a47cb89c2bb4e61880fc2
2019-09-15 04:59:22 +03:00
levlam
548f798b8d Support updateFolderPeers.
GitOrigin-RevId: f5c9ef7f7db6df3dffbc6d25279605527ebb171a
2019-08-27 17:54:09 +03:00
levlam
c1afa189f3 Support multiple chat lists.
GitOrigin-RevId: 8adecce0ddf36bb2408eecc19b7f1fc8856151fc
2019-08-22 18:24:02 +03:00
levlam
936a84c025 Update to layer 99. Add support for ChatListType.
GitOrigin-RevId: fdd5de60e479fa9a72975bee8e3cb911f390ec01
2019-08-19 04:51:03 +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
f29c4a9ed1 Remove unneded explicit td::.
GitOrigin-RevId: e3888510ce72a55072a11d105311f07b4ba42bbf
2019-09-15 06:19:46 +03:00
levlam
865ccc7560 Invalidate ChannelFull on updateChannel update.
GitOrigin-RevId: 081f68486d1555ba9cbcd5f954663a55c6551c00
2019-09-15 03:34:05 +03:00
levlam
9007f106b9 Update layer 98. Support for legacy messages flag.
GitOrigin-RevId: b10c8b60b7fbdfdbf8ab15e65ed32f1daa6c9ad2
2019-08-15 18:16:09 +03:00
levlam
d1f53092d1 Fix misprint in in_acceptable_user.
GitOrigin-RevId: 09b98d3986b9885fd6f33397e848767fcceed700
2019-07-13 18:17:55 +03:00
levlam
fa234d0f36 Try to load needed data from database before rejecting update.
GitOrigin-RevId: 17f0bbb6442b431dee926244d93913f820281379
2019-06-17 04:57:27 +03:00
levlam
b447f4e623 Add UpdatesManager::is_acceptable_{user,chat,channel} methods.
GitOrigin-RevId: 6d72de8ca766b145c25e750f71debdfe76d8b440
2019-06-17 04:48:29 +03:00
levlam
11e9923e0a Improve is_acceptable_message.
GitOrigin-RevId: 494c88118bcb8da8e2e8cb956efd28ced3b424b5
2019-06-17 04:25:33 +03:00
levlam
30e96aa8c8 Improve applying chat full participants.
GitOrigin-RevId: 4280f3daa15b4120e81eb3891adced8ff5f97c1c
2019-06-13 00:21:30 +03:00
levlam
b641382eab Support pinned_message version in basic groups.
GitOrigin-RevId: 75a011aa0ad138f9bf165870603c1be82038bbc8
2019-05-12 21:19:03 +03:00
levlam
e71b749a79 Add updateChatDefaultBannedRights support.
GitOrigin-RevId: 1e938066789b61f5f14003c268a62965fcc31a30
2019-03-20 16:32:27 +03:00
levlam
3ecf990ad6 Update layer to 95.
GitOrigin-RevId: 0d6b470b6ca6f72b5b87fbd899aaeae8892f8834
2019-03-15 16:52:55 +03:00
levlam
e47f1d6947 Add ignore_background_updates option.
GitOrigin-RevId: cefa2fd658d1e0426bd319db2f033b0506e0f8de
2019-04-21 21:17:11 +03:00
levlam
e9bb986d9c Remove unneded UpdatesManager::get_state.
GitOrigin-RevId: d95a262233bd5959950eab8159a589a689d8a4b5
2019-04-18 17:57:57 +03:00
levlam
cb856f55a1 More consistent log out checks.
GitOrigin-RevId: df749bf0a8234d5ed537b1a7200d4a3ee037eb7d
2019-04-11 23:32:19 +03:00
levlam
b5802e435f Send result to processPushNotification only after the updateNotificationGroup with the notification is sent.
GitOrigin-RevId: d7b814c0ae6ea0555444d9ec54a570e440889b67
2019-04-02 22:24:54 +03:00
levlam
6cebe30382 Find entities in MESSAGE_ANNOUNCEMENT.
GitOrigin-RevId: 3ca4500dea9ba0f3561470416db21bc1cc42616a
2019-03-26 01:24:23 +03:00
levlam
a165305968 Set local online on some message history reads.
GitOrigin-RevId: 140ed8921bb53c6aabbe5acfe25147854b2f9b53
2019-03-15 22:09:42 +03:00