levlam
cb24fd8037
Add struct FoundStickers.
2021-01-15 14:01:59 +03:00
levlam
10ec257921
Hide message interaction info for yet unsent supergroup messages.
2021-01-15 14:01:48 +03:00
levlam
dda1b62655
Add suggestedActionSeeTicksHint.
2021-01-15 01:30:05 +03:00
levlam
1941c0b962
Fix loading ChatFull/ChannelFull.
2021-01-14 23:40:18 +03:00
levlam
d5c0028e1e
Add getChatInviteLinkUsers.
2021-01-14 23:21:23 +03:00
levlam
efc12342c2
Add getChatInviteLinks method.
2021-01-14 19:39:51 +03:00
levlam
9f37354951
Return full invite links in *FullInfo.
2021-01-13 19:14:08 +03:00
levlam
4761d7385c
Move invite link methods to DialogInviteLink.
2021-01-13 18:30:58 +03:00
levlam
1816a6c7a5
Support permanent invite links.
2021-01-13 18:16:33 +03:00
levlam
5016197cf9
Load self when creating chat invite link.
2021-01-13 16:59:10 +03:00
levlam
3df10dc103
Check invite link validness.
2021-01-13 16:50:41 +03:00
levlam
b5cd03365d
Add DialogInviteLink class.
2021-01-13 16:28:24 +03:00
levlam
87a2423f5a
Add editChatInviteLink method.
2021-01-12 19:21:12 +03:00
Andrea Cavalli
a84a9f472d
Bugfixes
2021-01-12 17:12:29 +01:00
levlam
0b7ce1c647
Update layer 123. Support new generateChatInviteLink.
2021-01-12 17:05:25 +03:00
Andrea Cavalli
801f14fa9c
Fix log check
2021-01-12 13:18:22 +01:00
Andrea Cavalli
461d9886ba
Update PollManager.cpp
2021-01-12 03:44:00 +01:00
Andrea Cavalli
58d3c6c830
Update PollManager.cpp
2021-01-12 03:34:08 +01:00
Andrea Cavalli
4e6ebda223
Update PollManager.cpp
2021-01-12 03:31:59 +01:00
Andrea Cavalli
0de571129b
Update PollManager
2021-01-12 03:17:38 +01:00
Andrea Cavalli
2ebb310101
Fix poll crash
2021-01-12 03:05:27 +01:00
Andrea Cavalli
241ee13727
FIx abort
2021-01-12 02:48:41 +01:00
Andrea Cavalli
b6f0df26bc
Fix null checks crash
2021-01-12 02:40:01 +01:00
Andrea Cavalli
716104845d
Fix typo in AudiosManager
2021-01-12 02:23:32 +01:00
Andrea Cavalli
26f02c04d4
Merge commit '27d3fdd09d90f6b77ecbcce50b1e86dc4b3dd366'
2021-01-12 01:37:30 +01:00
Andrea Cavalli
a79f835de0
Add memory_cleanup on tear_down, and add more memory_cleanup.
2021-01-12 01:37:17 +01:00
levlam
36b4c55927
Remove force_apply from add_pending_update.
2021-01-12 01:52:10 +03:00
levlam
840391b95c
Add is_pts_update/is_qts_update.
2021-01-11 23:58:03 +03:00
levlam
efec8787d8
Add MessagesManager::check_pts_update.
2021-01-11 23:31:25 +03:00
levlam
cdbed1844a
Add updateFolderPeers to pts updates.
2021-01-11 23:14:41 +03:00
levlam
0acc29b1d2
Treat bots as always online.
2021-01-11 22:22:18 +03:00
levlam
70b4838a21
Rename source to audio_source.
2021-01-11 15:02:02 +03:00
levlam
27d3fdd09d
Update group call join missing error message text.
2021-01-08 18:15:16 +03:00
Andrea Cavalli
5af21e5612
Merge commit 'c5549b73460f58addfaea52c0bef98a94483211f'
...
Conflicts:
td/telegram/MessagesManager.cpp
2021-01-08 14:40:25 +01:00
levlam
c5549b7346
Improve log messages.
2021-01-08 16:05:16 +03:00
levlam
c271524019
Treat updates with too big pts as outdated.
2021-01-08 14:43:00 +03:00
levlam
eab5532688
Fix applying of postponed pts updates.
2021-01-08 14:37:50 +03:00
levlam
6b909386fd
Simplify is_dialog_participant_suitable.
2021-01-08 02:01:49 +03:00
Andrea Cavalli
2e5d5a81bc
Merge commit '62c18729f1cf8c5f1b7dc6f0d37edbffd2bb78b5'
2021-01-07 19:38:10 +01:00
Andrea Cavalli
08bd345987
Change default values of experimental options
2021-01-07 19:18:45 +01:00
Andrea Cavalli
e0bcdab68f
Add experiment_old_postponed_pts_updates_behavior option
2021-01-07 13:08:07 +01:00
Andrea Cavalli
2f28ed3bba
Add experiment_enable_chat_access_hash_cleanup
2021-01-06 21:21:11 +01:00
Andrea Cavalli
53ed453f0b
Revert CHECK
2021-01-06 21:15:50 +01:00
levlam
db3875710b
Show recently joined voice chat participants as recent speakers.
2021-01-05 22:48:10 +03:00
Andrea Cavalli
ae119e4fc7
Fix typo
2021-01-05 17:48:21 +01:00
Andrea Cavalli
9e39ed51bd
Fix #13
2021-01-05 17:30:22 +01:00
Andrea Cavalli
60173675f8
Fix #11
2021-01-05 17:29:45 +01:00
Andrea Cavalli
cbd6a55619
Fix #10
2021-01-05 17:29:06 +01:00
Andrea Cavalli
ff5b3840aa
Reduce log levels
2021-01-05 17:27:12 +01:00
Andrea Cavalli
7852116554
Fix #9
2021-01-05 17:26:11 +01:00
Andrea Cavalli
d81befa783
Merge commit '71ac1f67bf160763bac8cf1183e12d15d67260b6'
2021-01-05 17:20:01 +01:00
Andrea Cavalli
8b7c89db03
postponed_pts_update log tag
2021-01-05 14:40:44 +01:00
levlam
71ac1f67bf
Force getDifference if receive a lot of qts updates.
2021-01-05 16:36:49 +03:00
levlam
970f65604a
Switch back from getDifference to updates handling if there are too much of them.
2021-01-05 16:06:51 +03:00
levlam
0ee37c5e64
Ensure that ChannelFull.member_count >= administrator_count after speculative update.
2021-01-05 15:18:15 +03:00
Andrea Cavalli
c7820e2d15
Add missing logs
2021-01-05 12:50:08 +01:00
Andrea Cavalli
af4693eac7
Add "messages" log tag
2021-01-05 12:27:29 +01:00
levlam
89fa0f6446
Add get_update_qts/get_update_pts.
2021-01-05 12:41:35 +03:00
Andrea Cavalli
934c13ca79
Optimize_memory code cleanup, add more error messages in MessagesManager
2021-01-05 02:37:34 +01:00
Andrea Cavalli
1430d6ec7b
Add missing options
2021-01-04 18:44:50 +01:00
Andrea Cavalli
5686d574f8
Add experimental options
2021-01-04 12:00:33 +01:00
Andrea Cavalli
cf3cc7b1d3
Log minithumbnail errors only if minithumbnails are enabled
2021-01-03 14:43:52 +01:00
andrew (from workstation)
49c2bbd9b5
fix get_all_file_sources declaration
2021-01-03 12:11:35 +01:00
andrew (from workstation)
c66972354a
get all elements without offset
2021-01-03 12:07:48 +01:00
levlam
567707099e
Use messageEmpty.peer_id.
2021-01-02 23:32:02 +03:00
levlam
6bba5a568a
Add setGroupCallParticipantVolumeLevel.
2021-01-02 22:59:48 +03:00
andrew (from workstation)
0eedaeea3a
fix index
2021-01-02 19:15:12 +01:00
andrew (from workstation)
eb41d4bb20
fix iterator
2021-01-02 15:09:55 +01:00
Andrea Cavalli
85fb357a19
Merge commit '82f0386e73b7128a8aafec5bfa7dd825fe94ac39'
...
Conflicts:
td/telegram/MessagesManager.cpp
2021-01-02 12:57:08 +01:00
levlam
82f0386e73
Move some functions from misc.h to algorithm.h.
2021-01-01 16:01:03 +03:00
levlam
52c1da0a70
Update copyright year.
2021-01-01 15:57:46 +03:00
andrew (from workstation)
d3fc12ff42
fix FileReferenceManager::get_current_file_source_id
2021-01-01 12:51:45 +01:00
andrew (from workstation)
e0d8a39ce4
remove unused file sources
2021-01-01 12:21:33 +01:00
levlam
dbbfcd5d64
Update ChannelFull participant count only after channel is updated.
2021-01-01 02:46:37 +03:00
levlam
d9fa3b3f36
Fix CHECK.
2021-01-01 02:21:50 +03:00
levlam
865009fffc
Include improvements.
2021-01-01 01:52:01 +03:00
levlam
3ec02f971d
Update Safari's ClientHello.
2020-12-31 16:08:04 +03:00
levlam
6b66cd8716
Add groupCallParticipant.volume_level.
2020-12-31 03:10:41 +03:00
levlam
607d198d36
Add groupCallParticipant.muted_only_for_self_count.
2020-12-31 02:54:17 +03:00
levlam
7bf916f4f5
Support muting group call participants for self.
2020-12-31 02:48:45 +03:00
levlam
192fd4862f
Use td::unique.
2020-12-30 18:50:57 +03:00
levlam
45149bb3cd
Allow multiple updateGroupCall updates for just created calls.
2020-12-30 18:41:44 +03:00
levlam
371ec422e6
Don't fix reply_to_message_id in message thread drafts.
2020-12-30 15:09:41 +03:00
levlam
b1ffe39759
Improve "Restore pts" warnings.
2020-12-30 14:57:43 +03:00
Andrea Cavalli
1f7ae82450
Update ContactsManager.cpp
2020-12-30 12:39:57 +01:00
Andrea Cavalli
343d28a6bc
Update ContactsManager.cpp
2020-12-30 12:39:19 +01:00
Andrea Cavalli
9a82abea56
Update MessagesManager.cpp
2020-12-30 12:37:21 +01:00
Andrea Cavalli
a6c0dbf160
Merge commit 'f7c01e88e36d3e49f3bf4b37ea71865324b0ecaa'
2020-12-30 02:20:47 +01:00
Andrea Cavalli
ee8260fc2e
Fix abort inside GroupCallManager
2020-12-30 02:19:30 +01:00
levlam
91e5b9e677
Update layer to 123. Rename Android Pay to Google Pay.
2020-12-29 16:43:58 +03:00
levlam
4e710553ef
Don't try to merge GIF animation with generated MP4 animation.
2021-01-28 15:11:14 +03:00
levlam
797aaecf2a
Prefer video dimensions over image size attribute.
2021-01-28 15:03:52 +03:00
levlam
3f856ccb46
Don't load dialog after ChatFull is loaded from database.
2021-01-25 17:58:19 +03:00
levlam
cec5f11d17
Don't save group administrators after basic group full is loaded from database.
2021-01-25 17:41:49 +03:00
levlam
d25edad06d
Rewrite searchChatMembers and getSupergroupMembers implementation.
2021-01-25 17:34:45 +03:00
levlam
60673fea78
Add get_chat_members_object method.
2021-01-25 02:07:38 +03:00
levlam
ef160aa2c0
Add struct DialogParticipants.
2021-01-25 02:00:57 +03:00
levlam
feba24f1f4
Improve updating first/last database message IDs in on_get_history.
2021-01-25 01:19:41 +03:00
levlam
c169067bb5
Improve logging.
2021-01-24 23:45:03 +03:00
levlam
e63776dbd3
Improve updating first/last database message IDs in on_get_history.
2021-01-24 23:27:53 +03:00
levlam
08b3ce0aac
Fix updating last database message ID after channelDifferenceTooLong.
2021-01-24 23:07:55 +03:00
levlam
d36ee86027
Stricter conditions for setting have_full_history.
2021-01-24 22:45:25 +03:00
levlam
fc2941763b
Fix LibreSSL 3+ support.
2021-01-24 21:59:03 +03:00
levlam
527c61caeb
Skip send_update_chat_has_scheduled_messages call if there was no scheduled message changes.
2021-01-24 03:29:54 +03:00
levlam
77a404d313
Delete updateMessageId if target message is in inaccessible chat part.
2021-01-24 03:20:19 +03:00
levlam
3e90584859
Delete updateMessageId whenever target message is found to be deleted.
2021-01-24 02:49:01 +03:00
levlam
c3e4560811
Add MessagesManager::delete_update_message_id method.
2021-01-24 02:14:51 +03:00
levlam
960aae0ae6
Improve handling of via_bot_name.
2021-01-23 23:19:37 +03:00
levlam
6e20aaa428
Add source to get_dimensions.
2021-01-23 22:04:35 +03:00
levlam
ae59f017e7
Fix expires_in == 0 in schedule_get_promo_data.
2021-01-23 21:39:41 +03:00
levlam
9c961b2eb8
Optimize database_message_id updating in on_get_history.
2021-01-21 23:37:00 +03:00
levlam
6729581d03
Clamp wrong dialog action progress instead of ignoring.
2021-01-21 23:19:40 +03:00
levlam
31265c93f1
Add ability to check whether a user is a mutual contact.
2021-01-21 16:49:41 +03:00
levlam
9a575cdb56
Forcely ignore updateChat received in getDifference.
2021-01-20 15:14:16 +03:00
levlam
f7c01e88e3
Add comment.
2020-12-29 15:51:12 +03:00
levlam
ccd99ac16a
Do not treat empty messages as deleted for bots.
2020-12-29 15:44:43 +03:00
levlam
1c150610d0
Silence expected warning.
2020-12-29 15:32:36 +03:00
levlam
2394ccd29e
Decrease max_participant_count to not update it for groups with 5000+ members.
2020-12-29 14:41:17 +03:00
levlam
92f9a4c54c
tg_cli: add gghs and sgs.
2020-12-28 23:35:05 +03:00
Andrea Cavalli
17e7e44f6e
Merge commit '8139e0d560b25cd2827fb0473e5726319998c10f'
...
Conflicts:
td/generate/scheme/td_api.tlo
td/telegram/GroupCallManager.cpp
td/telegram/MessagesManager.cpp
2020-12-28 19:09:04 +01:00
levlam
aee5806593
Improve error message.
2020-12-28 18:57:41 +03:00
Andrea Cavalli
7ef40eea0c
Group call patches
...
Add disable_group_calls boolean option
Add memory_cleanup and memory_stats to FileReferenceManager
Add memory_cleanup and memory_stats to GroupCallManager
2020-12-28 16:10:05 +01:00
levlam
584b5352ca
Replace error message on closing.
2020-12-28 17:18:17 +03:00
levlam
8139e0d560
Update forward_count and thread reply_info only after updateNewMessage is sent.
2020-12-28 16:58:50 +03:00
levlam
6af4338f8b
Add MessagesManager::update_forward_count.
2020-12-28 16:21:39 +03:00
levlam
5f02a34c34
Don't hide reply info for yet unsent messages.
2020-12-28 15:19:56 +03:00
levlam
2c8cfc561c
Add is_speaking flag for recent speakers.
2020-12-28 14:19:29 +03:00
levlam
1f9d173afb
Automatically check whether group call is still joined.
2020-12-28 00:30:27 +03:00
Andrea Cavalli
5a480a10a6
Update tl-parser
2020-12-27 11:56:47 +01:00
Andrea Cavalli
24687809e9
Update tl-parser
2020-12-27 11:41:43 +01:00
Andrea Cavalli
3083b167bc
Update tl-parser
2020-12-27 11:41:22 +01:00
Andrea Cavalli
6012baeb3e
Update CMakeLists.txt and tl-parser
2020-12-27 11:40:08 +01:00
Andrea Cavalli
23725f0c34
Update CMakeLists.txt
2020-12-27 11:31:09 +01:00
Andrea Cavalli
2029fe7650
2020-12-27 11:28:48 +01:00
Andrea Cavalli
8231ceea60
Update CMakeLists.txt
2020-12-27 11:14:41 +01:00
levlam
1d155a8492
tg_cli: add get_chat_report_reason.
2020-12-26 21:53:39 +03:00
levlam
48f5169101
tg_cli: add get_supergroup_members_filter.
2020-12-26 21:45:19 +03:00
levlam
f56ea08096
tg_cli: add get_user_privacy_setting_rules.
2020-12-26 21:32:21 +03:00
levlam
d23e6ad352
tg_cli: combine Search* methods.
2020-12-26 21:12:09 +03:00
levlam
4de797e4bd
tg_cli: use rand_bool everywhere.
2020-12-26 21:01:57 +03:00
levlam
6654464360
tg_cli: use get_args if possible.
2020-12-26 20:58:30 +03:00
levlam
168becf215
tg_cli: simplify SearchQuery parsing.
2020-12-26 20:47:51 +03:00
levlam
2097d88006
tg_cli: use get_args to read integer parameters.
2020-12-26 20:26:19 +03:00
levlam
e53ffdb101
tg_cli: use get_args to read bool parameters.
2020-12-26 19:59:45 +03:00
levlam
48a47618ca
tg_cli: add get_args.
2020-12-26 19:40:46 +03:00
Andrea Cavalli
68c9a14e8d
Update CMakeLists.txt
2020-12-26 17:30:31 +01:00
levlam
77112f53d7
tg_cli: add as_limit.
2020-12-26 01:25:00 +03:00
levlam
30d912bd4b
Set is_pinned flag for last_pinned_message_id.
2020-12-26 01:05:24 +03:00
levlam
f4ec6e6cfc
tg_cli: add get_search_query.
2020-12-26 00:43:38 +03:00
Andrea Cavalli
3817c4f634
Merge remote-tracking branch 'td/master'
2020-12-25 20:29:10 +01:00
Andrea Cavalli
f610ff028c
Merge
2020-12-25 20:24:09 +01:00
Andrea Cavalli
e463fb4fb8
Fix checks
2020-12-25 20:18:52 +01:00
Andrea Cavalli
d0611518f6
Merge
2020-12-25 20:09:39 +01:00
Andrea Cavalli
8e99c3c873
Merge
2020-12-25 19:55:29 +01:00
Andrea Cavalli
b8d25b319e
Merge
2020-12-25 19:36:46 +01:00
Andrea Cavalli
a2f86155a9
Replace nullptr
2020-12-25 19:36:05 +01:00
Andrea Cavalli
c032df3b76
Merge
2020-12-25 19:09:41 +01:00
Andrea Cavalli
2144560f9d
Change nullptr
2020-12-25 19:09:24 +01:00
Andrea Cavalli
204757e075
Merge
2020-12-25 18:58:35 +01:00
levlam
c8668f224c
Update ChannelFull.participant_count when channel.participant_count changes.
2020-12-25 18:06:54 +03:00
levlam
ce75097932
Increase ChannelFull.participant_count instead of decreasing administrator_count to guarantee that channel has no administrators more than participants.
2020-12-25 17:35:41 +03:00
levlam
9ca42ec8da
Check message pts before merging files.
2020-12-25 16:12:09 +03:00
Andrea Cavalli
7e0b964137
Fix #3
2020-12-25 02:34:42 +01:00
Andrea Cavalli
5fa69429a5
Fix #4
2020-12-25 02:24:42 +01:00
levlam
b70eb33158
Save pts of the last processed message edit.
2020-12-25 03:31:12 +03:00
levlam
ebc4e57da7
Minor improvements of process_update.
2020-12-25 03:19:10 +03:00
levlam
a8377db05d
Simplify handling of updateNewChannelMessage and updateEditChannelMessage.
2020-12-25 02:56:22 +03:00
levlam
b867a597e8
Simplify add_pending_channel_update calls.
2020-12-25 02:37:14 +03:00
levlam
ba9837f55e
tg_cli: combine emp and empttl.
2020-12-25 01:41:56 +03:00
levlam
d191bc49b6
Save updates with pts_count == 0 to postpone setting their promises.
2020-12-25 01:32:31 +03:00
levlam
4a28b98022
Pass promise to add_pending_channel_update.
2020-12-25 00:20:21 +03:00
levlam
3dbc996acc
Postpone pts updates, which can't be applied right now.
2020-12-24 23:32:32 +03:00
levlam
4ea10b3de6
Pass promise to MessagesManager::add_pending_update.
2020-12-24 21:56:15 +03:00
Andrea Cavalli
655f16b044
Update CMakeLists.txt and tl-parser
2020-12-24 18:36:28 +01:00
Andrea Cavalli
6cc3b9b02c
Update CMakeLists.txt and tl-parser
2020-12-24 12:52:54 +01:00
Andrea Cavalli
f29e56d0ca
Update CMakeLists.txt and tl-parser
2020-12-24 12:44:38 +01:00
Andrea Cavalli
898df61d6e
Update CMakeLists.txt and tl-parser
2020-12-24 11:59:41 +01:00
Egor Pugin
28ce6974ce
Remove extra include dir part. ( #1336 )
2020-12-23 10:41:56 +03:00
levlam
887c2dfdf7
Properly set promise when ignore pending updates.
2020-12-23 02:06:45 +03:00
levlam
b9d1530c78
Store all promises for pending qts updates.
2020-12-23 01:58:56 +03:00
levlam
6d6d1b20b6
Reimplement RSA for OpenSSL 3.0.0.
2020-12-22 23:29:10 +03:00
levlam
03bb56ae96
Add RSA test.
2020-12-22 22:28:04 +03:00
levlam
3589676550
Minor fixes.
2020-12-22 15:51:57 +03:00
levlam
b89cb3fbd6
Fix misprint.
2020-12-22 02:09:08 +03:00
levlam
97f5040b6f
Improve documentation.
2020-12-22 01:52:14 +03:00
levlam
656a641290
Fix sending response to setPollAnser.
2020-12-22 01:51:20 +03:00
levlam
7d73126506
Add success promise to on_get_updates.
2020-12-21 22:06:52 +03:00
levlam
956e70d841
Add groupCall.can_be_managed flag.
2020-12-21 13:47:19 +03:00
levlam
a640fb2fe0
Add to_string method for vector of TL objects.
2020-12-21 03:02:20 +03:00
levlam
3b6c0143b6
Improve error message.
2020-12-21 02:19:53 +03:00
levlam
f11877f6ed
Remove null messages from search-like request responses.
2020-12-20 14:08:11 +03:00
levlam
fdf5b73db3
Update documentation.
2020-12-20 14:08:03 +03:00
levlam
c2ac73769f
Fix self is_speaking flag.
2020-12-20 02:10:02 +03:00
levlam
bbde4f32c6
Allow to specify emoji for sent stickers.
2020-12-19 14:31:42 +03:00
levlam
905d09d82c
Accept non-lowercase end HTML tags.
2020-12-19 13:46:22 +03:00
levlam
34cc9092c9
Update layer 122.
2020-12-18 17:43:23 +03:00
levlam
720a6ac45a
Update .clang-format.
2020-12-18 17:21:25 +03:00
levlam
3413e38a61
Fix can_be_muted flag.
2020-12-18 17:08:24 +03:00
levlam
8dd4fe3166
Separately apply versioned and unversioned group call updates.
2020-12-18 16:23:49 +03:00
levlam
7aadb29e0a
Improve documentation.
2020-12-17 23:14:47 +03:00
levlam
f5a122c65d
Allow zero source in setGroupCallParticipantIsSpeaking.
2020-12-17 23:12:44 +03:00
levlam
89b6d7faa0
tg_cli: use custom call source.
2020-12-17 22:55:29 +03:00
levlam
e856788f52
Reload group call when chat is opened.
2020-12-17 18:38:27 +03:00
levlam
2a50685321
Add separate GroupCallManager::on_update_group_call_rights method.
2020-12-17 18:27:01 +03:00
levlam
7a6c393b7b
Update MIN_SEARCH_PUBLIC_DIALOG_PREFIX_LEN limit.
2020-12-17 18:20:28 +03:00
levlam
e89d353b68
Add groupCall.need_rejoin flag.
2020-12-17 17:49:15 +03:00
levlam
c4d8f301a1
Add groupCallParticipant.can_be_muted/can_be_unmuted flags.
2020-12-17 02:07:05 +03:00
levlam
bfcc7d17c4
Improve GroupCallParticipant updating.
2020-12-17 00:37:42 +03:00
levlam
4a3375e617
Various group call fixes.
2020-12-16 22:49:24 +03:00
levlam
6ebe28cdac
Load group call administrators.
2020-12-16 20:30:52 +03:00
levlam
0d7c980f9d
Fix nullptr dereference during logging.
2020-12-16 18:57:34 +03:00
levlam
ca242e754b
Keep biggest update list for a given version instead of forced sync.
2020-12-16 18:40:51 +03:00
levlam
0e668726bc
Update can_unmute_self only if the user is muted.
2020-12-16 18:09:32 +03:00
levlam
415a64ff24
Allow loading channel participants without bot info.
2020-12-16 17:43:34 +03:00
levlam
92327f1fe7
Ignore checkGroupCallIsJoined requests first 10 seconds.
2020-12-16 17:02:09 +03:00
levlam
d165a87b73
Reload group call if rights has changed.
2020-12-16 16:38:06 +03:00
levlam
3681da21d8
Automatically close unclosed contours.
2020-12-16 16:04:27 +03:00
levlam
7fc2e783ed
Add groupCall.can_unmute_self.
2020-12-16 14:04:07 +03:00
levlam
f50971625f
Fix version initialization.
2020-12-16 12:53:17 +03:00
levlam
babd4dc35d
Add source to on_update_dialog_group_call.
2020-12-15 19:25:07 +03:00
levlam
62dc71cbc5
Add GroupCallManager::update_group_call_dialog method.
2020-12-15 19:20:03 +03:00
levlam
d022dfdb62
Add GroupCallManager::can_manage_group_calls method.
2020-12-15 18:21:02 +03:00
levlam
f95366a219
Leave group call when receive corresponding update.
2020-12-15 17:06:11 +03:00
levlam
25d1fde985
Add source to send_update_group_call.
2020-12-15 16:24:38 +03:00
levlam
0d76d53cd5
Process updateGroupCallParticipant even don't need participant list.
2020-12-15 16:06:21 +03:00
levlam
adca19d4da
Fix group call version initialization.
2020-12-15 15:40:52 +03:00
levlam
ecc1669e5a
Update recent speakers by received in getGroupCall participants.
2020-12-15 15:17:53 +03:00
levlam
1c02363418
Update recent speakers by updateGroupParticipants.
2020-12-15 14:54:47 +03:00
levlam
db99c9817d
Fix group call updating after initialization.
2020-12-15 14:32:08 +03:00
levlam
b4e087a2f0
Remove users from recent speakers when they leave the call.
2020-12-15 14:04:06 +03:00
levlam
42f36d2d66
Improve loadGroupCallPartiicpants documentation.
2020-12-15 13:40:04 +03:00
levlam
c73fc71744
Simplify promo data expires_in handling.
2020-12-15 13:28:41 +03:00
levlam
5268f83538
Increase chat/channel cache version to reload has_voice_chat flags.
2020-12-15 13:10:29 +03:00
levlam
c63da4b241
Add group call participants syncronization.
2020-12-15 12:41:26 +03:00
levlam
37a17476c7
Update is_speaking field for speaking group call participants.
2020-12-15 01:42:16 +03:00
levlam
941bc7a4f1
Document updateGroupCallParticipant behavior on join from another device.
2020-12-14 22:42:56 +03:00
levlam
47a00d257b
Fix basic group administrator rights.
2020-12-14 22:30:58 +03:00
levlam
4b9eabc668
Separate message contents for started and ended boice chats.
2020-12-14 22:22:20 +03:00
levlam
98241af35a
Support voice chats in basic groups.
2020-12-14 17:33:02 +03:00
levlam
65d3557f63
Add outline support for sticker set thumbnails.
2020-12-14 17:16:57 +03:00
levlam
96acefc6c6
Update layer 122.
2020-12-14 16:52:25 +03:00
levlam
6ca15f18c8
Move voice chat-related fields to Dialog.
2020-12-14 00:36:44 +03:00
giuseppeM99
56a925ac90
Fix bad_alloc in get_memory_stats
2020-12-13 13:34:19 +01:00
levlam
00eed8928c
Move voice chat creation to GroupCallManager.
2020-12-13 15:18:33 +03:00
levlam
6fdf68bad4
Store DialogId in information about group call.
2020-12-13 14:52:07 +03:00
levlam
b015ada0dc
Resolve group call participant by source in set_group_call_participant_is_speaking.
2020-12-12 15:31:56 +03:00
levlam
84c143580b
Process pending group call participant updates after version change.
2020-12-12 15:05:22 +03:00
levlam
ab73589165
Implement GroupCallManager::on_receive_group_call_version.
2020-12-12 14:47:56 +03:00
levlam
7398de2790
Apply group call participant updates in the correct order.
2020-12-12 14:10:37 +03:00
levlam
841ef6dc7f
Simplify GroupCallManager::process_group_call_participants_from_updates.
2020-12-12 12:27:43 +03:00
levlam
7fc19c3733
Add groupCall.loaded_all_participants flag.
2020-12-12 01:00:00 +03:00
levlam
b78af33192
Update min_order after loaded group call participants.
2020-12-11 23:31:46 +03:00
levlam
d4f3d24142
Split GroupCallManager::process_group_call_participants function.
2020-12-11 23:04:49 +03:00
levlam
8c3120b5cc
Process group call participants returned in getGroupCall.
2020-12-11 22:52:53 +03:00
levlam
4a0c42729b
Add td_api::loadGroupCallParticipants.
2020-12-11 19:47:34 +03:00
levlam
76950e710f
Support updateGroupCallParticipants updates.
2020-12-11 18:44:03 +03:00
levlam
1fb050a264
Add updateGroupCallParticipant.
2020-12-11 17:43:23 +03:00
levlam
52c79bae75
Update documentation and improve type names.
2020-12-09 14:26:22 +03:00
levlam
987f26efdc
Add default support for bowling dice.
2020-12-09 13:35:27 +03:00
levlam
07735c27e8
Add related to voice chats chat log event actions.
2020-12-08 20:02:12 +03:00
levlam
707f83e755
Add voice_chat_changes chat log event filter.
2020-12-08 18:42:31 +03:00
levlam
6e3e129b13
Improve group call method and field names.
2020-12-08 18:01:06 +03:00
levlam
901d603808
Add GroupCallParticipant class.
2020-12-08 17:29:25 +03:00
levlam
593a2bfb3e
Improve administrator rights name.
2020-12-08 03:19:56 +03:00
levlam
5c832cb361
Update layer 122.
2020-12-08 02:06:20 +03:00
levlam
9e0dba0db4
Separate inline query results cache for different chat types.
2020-12-08 01:26:40 +03:00
levlam
6a38d219f0
Update layer 122. Add updateNewInlineQuery.chat_type (can be sent by the server in the distant future).
2020-12-07 23:08:18 +03:00
levlam
a426105129
Get speaking user from the server by source.
2020-12-07 02:56:13 +03:00
levlam
562742095d
Recent speakers fixes.
2020-12-07 02:42:44 +03:00
levlam
8dff5ed65b
Do not allow to join finished calls.
2020-12-07 00:59:53 +03:00
levlam
d4e6c3724d
Do not allow to join already joined call.
2020-12-07 00:58:54 +03:00
levlam
37f9d6a42d
Fix new rights in created chats.
2020-12-07 00:47:48 +03:00
levlam
6af2f71ddd
Get unknown speaking users from the server by their user_id.
2020-12-07 00:38:23 +03:00
levlam
29e4265b37
Get and update recent speakers in a separate method.
2020-12-06 21:41:56 +03:00
levlam
1d60bf36e6
Add GroupCallManager::send_update_group_call.
2020-12-06 21:22:55 +03:00
levlam
b0806df48f
Remove recent speakers by timeout.
2020-12-06 21:18:12 +03:00
levlam
da5132b688
Send recent speaker updates with delay.
2020-12-06 20:07:23 +03:00
levlam
82a2d9262c
Add groupCall.is_joined flag.
2020-12-06 14:33:15 +03:00
levlam
1c5db9f809
Remove chatActionSpeakingInCall.
2020-12-06 10:52:55 +03:00
levlam
91d4b57713
Add recent group call speakers.
2020-12-06 10:40:26 +03:00
levlam
9a4ab8fc23
Update documentation.
2020-12-05 22:10:58 +03:00
levlam
f3c8ae83c5
Update channel when its group call is changed.
2020-12-05 21:28:57 +03:00
levlam
bc5a3d2cec
Add supergroup.is_voice_chat_empty flag.
2020-12-05 19:43:57 +03:00
levlam
c34e7ed6ba
Allow multiple move commands in the beginning of vector paths.
2020-12-05 17:37:10 +03:00
levlam
fcbc9915bd
Try not to update twice message interaction info.
2020-12-05 16:23:22 +03:00
levlam
23f1927c07
Improve sending speaking in voice chat typings.
2020-12-04 17:06:37 +03:00
levlam
fc2215633b
Do not create group calls for bots.
2020-12-04 12:44:09 +03:00
levlam
eb9abbb9ab
Save voice chat channel_id.
2020-12-04 12:40:51 +03:00
levlam
49f7a56f11
Save joined group call synchronization source.
2020-12-04 01:56:27 +03:00
levlam
803e6f20af
Improve documentation.
2020-12-03 23:20:56 +03:00
levlam
34e05375c1
Add GroupCallId class.
2020-12-03 19:52:50 +03:00
levlam
2da4316a06
Add td_api::getGroupCall.
2020-12-03 02:00:46 +03:00
Andrea Cavalli
b47fab11cd
Merge commit 'eb80924dad30af4e6d8385d058bb7e847174df5e'
2020-12-02 23:31:03 +01:00
levlam
eeee625803
Rename createVoiceChat method.
2020-12-03 01:08:20 +03:00
levlam
1da1a14255
Represent sticker contours as vector path.
2020-12-02 18:45:06 +03:00
levlam
dcf5b2a78b
Update layer 122.
2020-11-29 15:50:09 +03:00
levlam
7f9681313a
Update layer 122.
2020-11-29 15:41:03 +03:00
levlam
eb80924dad
Update version to 1.7.0.
2020-11-28 17:00:17 +03:00
levlam
29fafbe5c4
Improve documentation.
2020-11-28 16:53:23 +03:00
levlam
e3a31f062e
Add can_archive_and_mute_new_chats_from_unknown_users option.
2020-11-28 16:39:56 +03:00
levlam
3e95f8d9cc
Add toggleGroupCallMemberIsMuted method.
2020-11-27 17:40:29 +03:00
levlam
1aa5822bf8
Add checkGroupCall method.
2020-11-27 17:07:12 +03:00
levlam
daf93cd157
tg_cli: add as_group_call_id.
2020-11-27 15:31:00 +03:00
levlam
f10db772f5
Add inviteGroupCallMember method.
2020-11-27 15:22:19 +03:00
levlam
1eca39c4ee
Add toggleGroupCallMuteNewMembers method.
2020-11-27 01:58:36 +03:00
levlam
54cfb02698
Add mute_new_members and allowed_change_mute_new_members flags to group call.
2020-11-27 01:40:48 +03:00
levlam
de6ac56cf2
Fix GroupCallManager destructor.
2020-11-26 18:02:18 +03:00
Arseny Smirnov
ab3e695f94
Revert "Revert "New test for tdlib. New Promise/Future features (ported from other project)""
...
This reverts commit 56866524aa
.
2020-11-26 18:49:51 +04:00
levlam
cbca6ca902
Cancel joinGroupCall net query.
2020-11-26 17:33:28 +03:00
levlam
162c06d00a
Add joinGroupCall method.
2020-11-26 14:32:29 +03:00
levlam
32295e2b6e
Add missing files.
2020-11-26 13:47:20 +03:00
levlam
2f1b857b7e
Disallow empty group call identifier in requests.
2020-11-26 13:44:48 +03:00
levlam
5cfda1df72
Add leaveGroupCall method.
2020-11-26 11:37:54 +03:00
levlam
e5bf347ceb
Add discardGroupCall.
2020-11-26 11:21:26 +03:00
levlam
e1271c7fa5
Add createChatGroupCall.
2020-11-26 10:56:13 +03:00
levlam
5d6e55e939
Add group_call_id to supergroupFullInfo.
2020-11-25 23:07:10 +03:00
levlam
cc47f9b63f
Support updateGroupCall.
2020-11-25 17:04:32 +03:00
levlam
bd75c4b062
Add GroupCallManager.
2020-11-24 18:22:00 +03:00
levlam
3c9cd41776
Add GroupCallId.
2020-11-24 17:29:09 +03:00
Arseny Smirnov
56866524aa
Revert "New test for tdlib. New Promise/Future features (ported from other project)"
...
This reverts commit 0c2b15f2b8
.
2020-11-24 15:50:44 +04:00
levlam
ce4054c5d4
Add messageGroupCall and messageInviteToGroupCall.
2020-11-24 14:33:16 +03:00
Arseny Smirnov
0c2b15f2b8
New test for tdlib. New Promise/Future features (ported from other project)
2020-11-24 15:25:10 +04:00
levlam
8663c78702
Add InputGroupCallId.
2020-11-24 10:44:06 +03:00
levlam
3e13b0cd31
Add can_manage_calls admin right.
2020-11-24 02:43:14 +03:00
levlam
59e0f03b5f
Update UpdatesManager::is_acceptable_message.
2020-11-24 01:36:20 +03:00
levlam
dc12edbde1
Return back 0 as default next load time.
2020-11-23 20:33:35 +03:00
levlam
905aa871e1
Add SpeakingInCall chat action.
2020-11-23 19:50:03 +03:00
Andrea Cavalli
3c59d917be
Merge remote-tracking branch 'td/master'
2020-11-23 17:27:14 +01:00
levlam
d24f3c924e
Fix StartPlayingGame chat action.
2020-11-23 19:18:56 +03:00
levlam
ccb0a4f63c
Update layer to 122.
2020-11-23 18:48:55 +03:00
levlam
6571a99b45
Include ConcurrentScheduler separately.
2020-11-23 03:24:36 +03:00
levlam
7dcfb6c4a4
Protect LanguagePackManager::tear_down during exit.
2020-11-23 02:11:05 +03:00
levlam
52653d6bf1
Do not try to attach to JVM after exit.
2020-11-23 00:18:01 +03:00
levlam
155c12edea
Improve ConcurrentScheduler closing on exit.
2020-11-22 23:30:40 +03:00
levlam
6044ee83fb
Fix Client_SimpleMulti test on macOS.
2020-11-22 16:26:00 +03:00
Andrea Cavalli
cba9f74cba
Merge remote-tracking branch 'td/master'
2020-11-22 01:11:21 +01:00
levlam
5cbf90e4a0
Safer work with negative monotonic time.
2020-11-21 16:34:39 +03:00
levlam
3ff1f6cec1
Add sticker cover to API.
2020-11-20 16:22:07 +03:00
levlam
ea6cdde0c5
Fix MSVC 15.3 CE.
2020-11-20 02:03:39 +03:00
levlam
d5da47510d
Minor fixes.
2020-11-20 01:32:58 +03:00
levlam
09b10c0ed1
Improve names of statistical classes.
2020-11-19 17:57:15 +03:00
levlam
74a960aca1
Allow zero sender in searchChatMessages.
2020-11-19 14:55:09 +03:00
levlam
ebfe3f3d99
Improve new interface documentation.
2020-11-18 23:42:26 +03:00
levlam
6f26706da5
Fix closing connection on too much dropped packets.
2020-11-18 17:49:29 +03:00
levlam
3f33d15879
Always adjust part size to keep low number of parts in downloaded files.
2020-11-17 02:59:58 +03:00
levlam
52a47b5f70
Add small margin for the maximum number of file parts on download.
2020-11-17 01:19:27 +03:00
Andrea Cavalli
bc0f162ad6
Merge commit '78e45da6b9014f8efd96cee0ad5701464d911cc7'
2020-11-15 18:16:02 +01:00
levlam
78e45da6b9
Use array instead of std::vector in the generated C++ classes.
2020-11-15 19:57:03 +03:00
levlam
f693874c50
Improve documentation.
2020-11-15 17:38:10 +03:00
Andrea Cavalli
18c967ac6c
Update build.yaml and CMakeLists.txt
2020-11-15 15:08:03 +01:00
Andrea Cavalli
600a7296a5
Update CMakeLists.txt
2020-11-15 14:45:52 +01:00
Andrea Cavalli
ae68150718
Update CMakeLists.txt
2020-11-15 14:40:19 +01:00
Andrea Cavalli
07fc180b4a
Update build.yaml and CMakeLists.txt
2020-11-15 14:22:33 +01:00
Andrea Cavalli
8988451abf
Fix CMakeLists
2020-11-15 13:19:14 +01:00
Andrea Cavalli
3d4d46e07c
Fix .tlo generation
2020-11-14 23:35:54 +01:00
levlam
5eea5b7501
Rename create_client to create_client_id.
2020-11-15 01:13:11 +03:00
levlam
6d46662804
Fix documentation misprint.
2020-11-14 23:00:14 +03:00
Andrea Cavalli
e96043b155
Fix .tlo generation for macos
2020-11-14 18:47:03 +01:00
Andrea Cavalli
3a620225a9
Fix .tlo generation for macos
2020-11-14 16:54:24 +01:00
Andrea Cavalli
dacb5ff0cc
Fix .tlo generation
2020-11-14 13:47:57 +01:00
Andrea Cavalli
e4bcc81ec7
Merge commit '00abe2f4019717c6479e30c588059a3cfd3be58e'
...
Conflicts:
td/generate/scheme/td_api.tlo
2020-11-14 11:11:47 +01:00
levlam
326fd203e9
Fix documentation misprint.
2020-11-13 18:18:10 +03:00
levlam
6a9cd72636
Don't create client through ClientManager until first request is sent to it.
2020-11-12 14:45:18 +03:00
levlam
597c0d2983
Add checks that client ID doesn't overflow.
2020-11-12 01:19:30 +03:00
Andrea Cavalli
f81d11a0b3
Merge commit '6a2dba9e8c1a896ba5a14b1205a3784c057c86fd'
2020-11-11 19:54:04 +01:00
Andrea Cavalli
ccc5fbf9ff
Update MessagesManager.cpp
2020-11-11 19:51:08 +01:00
levlam
9725780fc6
Replace referenced text with anchor name in richTextReference to support nested references.
2020-11-11 16:41:30 +03:00
levlam
d63a16ef8b
Remove PHP ctype extension usage.
2020-11-11 16:38:48 +03:00
levlam
c86687091d
Improve documentation.
2020-11-10 20:47:22 +03:00
Andrea Cavalli
2821f4af4f
Update ContactsManager.cpp
2020-11-10 13:05:13 +01:00
Andrea Cavalli
cbe8d94183
Merge commit '1fa87babb32ea85ff5a97ab93525ae13f66a0eef'
2020-11-10 12:42:50 +01:00
Andrea Cavalli
eb28f728be
Remove unused mutex
2020-11-10 12:42:35 +01:00
levlam
d22dabfdaf
Update layer to 121.
2020-11-09 23:41:23 +03:00
levlam
ea8c57fea3
Fix canceling chat actions on timeout.
2020-11-09 12:33:40 +03:00
Andrea Cavalli
604df72790
Merge commit '1d75237893c8a08d73ba95a7e76b8da517b8c1dc'
2020-11-08 23:49:01 +01:00
levlam
f9a600c401
Minor fixes.
2020-11-08 14:00:36 +03:00
levlam
b21d667bdf
Fix compilation error.
2020-11-08 12:09:27 +03:00
Andrea Cavalli
6f28ad36af
Merge commit '60edadab90d7aeb8d7a44764344b8848abf5b8bb'
...
Conflicts:
td/telegram/MessagesManager.cpp
2020-11-07 23:10:26 +01:00
levlam
60edadab90
Automatically group forwarded documents and music files.
2020-11-08 00:40:12 +03:00
levlam
0713c913de
Remove now unneeded postponed_get_message_requests_.
2020-11-08 00:40:12 +03:00
levlam
00382f825b
Get channel difference if it is needed to add messages.
2020-11-08 00:40:12 +03:00
levlam
ed25a03dda
Get channel difference before adding discussion message if needed.
2020-11-08 00:40:12 +03:00
levlam
260c15e3e9
Add process_discussion_message method.
2020-11-08 00:40:12 +03:00
levlam
8f623e8be7
Add early check for another active channel difference.
2020-11-08 00:40:12 +03:00
levlam
cb06833eb1
Reload full dialog info with a small delay.
2020-11-08 00:40:06 +03:00
Andrea Cavalli
b22a1a46e6
Remove annoying error
2020-11-07 22:20:46 +01:00
Andrea Cavalli
1f7c4e2508
Remove death_handler
2020-11-06 14:27:05 +01:00
levlam
da1f073e22
Forward messages in two passes.
2020-11-06 16:00:56 +03:00
levlam
398c7cfd52
Don't drop administrator count in non-admined supergroups.
2020-11-06 15:16:30 +03:00
Andrea Cavalli
e022963e1e
Merge commit 'ff0c727ee2129b66a2908e46edc3bc9f7774e834'
2020-11-06 11:48:24 +01:00
Sergey Polovko
645052bec7
Implement hash function for MessageContentType enum. ( #1283 )
2020-11-06 02:05:15 +03:00
Andrea Cavalli
28add54662
Update cli.cpp
2020-11-05 22:02:00 +01:00
Andrea Cavalli
423d05f18e
Remove death handler if using musl
2020-11-05 21:58:40 +01:00
levlam
254823d602
Fix search inside message threads.
2020-11-05 17:46:47 +03:00
Andrea Cavalli
d34a45ec83
Remove malloc_trim with musl
2020-11-05 12:48:59 +01:00
Andrea Cavalli
e56e0ae279
Use sh instead of bash
2020-11-04 21:51:30 +01:00
Andrea Cavalli
4acc54ee73
Remove autogenerated files
2020-11-04 21:27:15 +01:00
Andrea Cavalli
16f41643ed
Merge commit '821398fa211b6a3c53733ccf271ee7a783d9bc75'
...
Conflicts:
.gitignore
td/generate/scheme/td_api.tlo
td/telegram/ContactsManager.h
2020-11-04 20:05:50 +01:00
Andrea Cavalli
2e31ced59b
Update to tdlib 1.6.10
2020-11-04 20:03:14 +01:00
levlam
c1de6a7d8d
Minor improvements.
...
GitOrigin-RevId: eb8b201d80405feb6972b2eabc7de30d40aa8b81
2020-11-02 00:43:57 +03:00