Commit Graph

2459 Commits

Author SHA1 Message Date
levlam
0d72fd638e Add Venue.{cpp,h}.
GitOrigin-RevId: 19dd4da6d4792ecbb84fdba560e49affcfcf5bed
2019-10-13 02:39:44 +03:00
levlam
35b9d56c64 Add DialogLocation, td_api::chatLocation and td_api::chatEventLocationChanged.
GitOrigin-RevId: 5bd47788c58065b0b79119d7d84c1d851a400417
2019-10-13 02:21:37 +03:00
levlam
438300b2cf Return previous is_blocked value, when block/unblock request fails.
GitOrigin-RevId: e8132bcd987c8abe75fe4e01fb199f4dada74259
2019-10-11 18:55:14 +03:00
levlam
d2047ff6d1 Add reload_user_full and use it to repair action bar.
GitOrigin-RevId: b7b4bc20b944caca0c086d9ecbf99756e8330c61
2019-10-11 18:39:10 +03:00
levlam
9e8512411c Combine block_user and unblock_user.
GitOrigin-RevId: 50c31ba274a7a5b70efe68ee8d307541e65eb48c
2019-10-11 18:31:16 +03:00
levlam
ba2c88de53 Repair action bar when user block/unblock fails.
GitOrigin-RevId: 325052ffd27cf8206c743f503c242abe90949114
2019-10-11 18:22:46 +03:00
levlam
a3126dcce5 Add td_api::sharePhoneNumber.
GitOrigin-RevId: 522cee62cab40378802fbb5352f9d06ee2709a03
2019-10-11 17:59:04 +03:00
levlam
f6f9997730 Add td_api::chatReportReasonUnrelatedLocation.
GitOrigin-RevId: 2bb5993d4478766a5758a18768c6afe18dbc2130
2019-10-11 04:56:43 +03:00
levlam
83d0d18a5e Delete unused default_can_report_spam_in_secret_chat.
GitOrigin-RevId: 9b7f2f5f0185600c00756f2f2f4543496d5feca7
2019-10-11 04:37:40 +03:00
levlam
49b43f8e94 Reload dialog action bar when it is opened.
GitOrigin-RevId: dcf0122af906a2628b9a02e1695e48b18b743bf8
2019-10-11 04:28:00 +03:00
levlam
7327b673de Support action bar report in reportChat.
GitOrigin-RevId: 2c85ca043c9615a27c1bdf46b7fd01ed98940699
2019-10-11 04:17:46 +03:00
levlam
378ed2c659 Remove ChatReportSpamState and methods for it.
GitOrigin-RevId: 3de0cb0147ad70e4d540f5a61f1aa08c64423edd
2019-10-11 03:36:26 +03:00
levlam
825cb0dd0b Add removeChatActionBar.
GitOrigin-RevId: 865c60b541cdfdc1465ab4814e1ca8c2c9ff0c49
2019-10-11 03:28:41 +03:00
levlam
62db4169a2 Update action bar when user is deleted.
GitOrigin-RevId: 1c31884369b944f79b2772e0142ce95a08ebafc1
2019-10-11 03:11:22 +03:00
levlam
9d229b7ad1 Update action bar when user is added to contacts.
GitOrigin-RevId: 52883ca7e29a3f1b9fe86a7cb210daba5c8cef46
2019-10-11 02:59:40 +03:00
levlam
a9dbaa6b78 Use dialog_type in fix_new_dialog.
GitOrigin-RevId: cf3fc67af2291e885fd3f6ed5682f708232ec876
2019-10-11 02:36:23 +03:00
levlam
d17a1734a4 Add repair_dialog_action_bar.
GitOrigin-RevId: 4157f18ad20ff09807b59433d86bce04b676fdf2
2019-10-11 02:32:25 +03:00
levlam
56af9f3f3c Add updateChatActionBar.
GitOrigin-RevId: 116120e198e0c12c3e91f1dea4045ae3bc914e1c
2019-10-11 01:23:28 +03:00
levlam
24ecd9564e Hide action bar when the user is blocked.
GitOrigin-RevId: 2c317e3612555f496da0b6f2f55f1de60f62cd57
2019-10-11 00:46:05 +03:00
levlam
91bdd50884 Add need_phone_number_privacy_exception.
GitOrigin-RevId: b1d6237900577a50dcc105d72962cebe62ee70ca
2019-10-11 00:18:34 +03:00
levlam
1b147a8142 Add Chat.action_bar.
GitOrigin-RevId: 4429f6d77af0686dd2c890423a4667a5251f0bff
2019-10-10 23:19:26 +03:00
levlam
4801b1ca9e Support peerSettings in UserFull.
GitOrigin-RevId: 31bc7325a636db5ac71f7f3bf37ca5e2fb18a160
2019-10-10 19:10:03 +03:00
levlam
a5a69812e5 Add updatePeerSettings support.
GitOrigin-RevId: 0e5a18b57dea6cf82aa00996fd8ddb8fcca11313
2019-10-10 19:07:49 +03:00
levlam
783620b9b7 Add td_api::addContact.
GitOrigin-RevId: 6b80aad27805780043a5ca4e7680bbfea65ddaad
2019-10-08 18:12:15 +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
1b2e4c79f3 Add basic support for nested entities.
GitOrigin-RevId: 127b89671b4551947552e94bcfdb9cab70ef37c0
2019-10-07 19:45:36 +03:00
levlam
b355e0c5c0 Update formattedText documentation.
GitOrigin-RevId: 3ae447b3d0c4511d10752660fcf30ef95e968ac4
2019-10-07 03:51:15 +03:00
levlam
6114516b40 Support PreCode in parse_html.
GitOrigin-RevId: 20a3bcb168ecd45f416e7df17247997eacecbc11
2019-10-03 16:39:50 +03:00
levlam
5a07029e6b Add Markdownv2 support to td_api::parseTextEntities.
GitOrigin-RevId: 79fc37ce5f1c243150433dca54ff915c55ce884d
2019-10-03 02:39:10 +03:00
levlam
fdf70df492 Add parse_markdown_v2.
GitOrigin-RevId: ea2ce8bad64becc53d2e6466019469dffec2dc27
2019-10-03 02:31:06 +03:00
levlam
b1d1ea2e6c Support nested entities in parse_html.
GitOrigin-RevId: c8a00262f5a8739d09b45ce710a5c7b920f2bfd4
2019-09-26 18:36:45 +03:00
levlam
3006357f7c Use entity_offset instead of utf16_entity_length.
GitOrigin-RevId: 8e02eac54c534eb33b37ef2b2f345e9c0781164a
2019-09-25 02:05:42 +03:00
levlam
38d5be1ee9 Use Slice in parse_html.
GitOrigin-RevId: f0fa29d7fccf407dde8ec6085a285f1fa2c52aa2
2019-09-25 01:22:04 +03:00
levlam
f20ef8c0c5 Better MessageEntity comparator.
GitOrigin-RevId: 7522f05688c5ff4beee86d4218953dfb5f4a2821
2019-09-23 22:57:02 +03:00
levlam
b13bf0ae7d Split fixing message text in 2 passes.
GitOrigin-RevId: fb0f5f33feebbaab1ccdd54c56412a79e4018066
2019-09-20 02:49:50 +03:00
levlam
87d875ca81 Update layer to 101. New entities type support.
GitOrigin-RevId: c4a4e73d20c27c2ad1440bae2acb9559d1f10a5d
2019-09-19 22:07:11 +03:00
levlam
4007386372 Add ChatFull.can_set_username.
GitOrigin-RevId: 1ccb89aaf6df6d9f70167ba1ff42eeef17a2d4cc
2019-09-19 06:27:05 +03:00
levlam
94908d20a1 Add UserFull.can_pin_messages.
GitOrigin-RevId: 11376497b904a9a8f36ef7cab66fd7aeac83ce7d
2019-09-19 05:43:18 +03:00
levlam
7619eaa0f0 Add get_user_full_force.
GitOrigin-RevId: 3486e0097a343b996a943555acfcba5afdbc61a9
2019-09-19 04:21:40 +03:00
levlam
f934ccbd50 Add get_chat_full_force.
GitOrigin-RevId: 7c33e468065589cc79a6c693afb8a9aae0ec9697
2019-09-19 03:58:54 +03:00
levlam
80e3841ec4 Add get_channel_full_force.
GitOrigin-RevId: cc2d1de9fa7859b1cead9562ce1be1ff9113788a
2019-09-19 03:07:44 +03:00
levlam
408a456589 Add strongly typed StickerSetId.
GitOrigin-RevId: 518121f89e3a4c95ab5a2095a9bc2217090911de
2019-09-18 06:55:43 +03:00
levlam
6f4fda224d Forcely load from database info about migrated to channel.
GitOrigin-RevId: db0041bda705667eb3febc6e73679c0e885026a0
2019-09-18 02:57:22 +03:00
levlam
15f31cf23a Add storer and parser for unique_ptr.
GitOrigin-RevId: 2b0f5c8a3e9f7a9343cf9557d10cbf95009ba847
2019-09-18 02:42:38 +03:00
levlam
ae574ceebc Better function names.
GitOrigin-RevId: 7f263a23e4fbc2da9715605599fbb06a3049b9ea
2019-09-18 02:21:29 +03:00
levlam
3377c38073 Store *Full to database.
GitOrigin-RevId: 160369861878befa880e2b4355fd6585977f84dc
2019-09-18 02:14:24 +03:00
levlam
1d850cb14f Better updating of legacy messages.
GitOrigin-RevId: 02baac67a94e4b4fe6dcf1a178ad08284868c85a
2019-09-17 01:08:05 +03:00
levlam
1b9164a3ad Fix misprint.
GitOrigin-RevId: 3a578053fcb265ecdc5bf8bd4243fae24a8f2eab
2019-09-16 20:37:16 +03:00
levlam
f18e771926 Fix moving secret chats to archive.
GitOrigin-RevId: 70e3a57ac80f244c93b1b0f2c37bf9c813ae0f14
2019-09-16 17:52:08 +03:00
levlam
e1a3ae1cff Keep secret chats in maon chat list when updating.
GitOrigin-RevId: dfd8e3de98705d163eede091413b88bc66f04488
2019-09-16 17:46:25 +03:00