levlam
b86a3fe227
Fix misprint.
2021-03-31 15:50:51 +03:00
levlam
b7e77765be
Fix accessing group call's leave_version.
2021-03-31 15:45:21 +03:00
levlam
3f1e91e7f4
Support invoice receipts in another chats.
2021-03-31 15:36:25 +03:00
levlam
9700529085
Remove payments proxy methods from MessagesManager.
2021-03-31 04:15:02 +03:00
levlam
3ac49bc8b1
Pass Td to all payments method.
2021-03-31 03:18:00 +03:00
levlam
6cf3755707
Improve get_input_bot_inline_message_media_* functions.
2021-03-31 02:54:29 +03:00
levlam
aa65e2b586
Allow to send invoice messages in all chat types.
2021-03-31 02:45:10 +03:00
levlam
32a5fc6855
Support sending messageInvoice via inline mode.
2021-03-31 02:38:16 +03:00
levlam
d7afe3d3e2
Simplify variable names in create_inline_message_content.
2021-03-31 02:02:53 +03:00
levlam
2379735d9b
Support sending Invoice as result of any inline query.
2021-03-31 01:55:12 +03:00
levlam
b9bc86fb5a
Add class InputInvoice.
2021-03-31 01:20:40 +03:00
levlam
f1b949456b
Support tip sending.
2021-03-30 18:45:22 +03:00
levlam
c3ff8539db
Support tip amount in Invoice.
2021-03-30 18:05:20 +03:00
levlam
17e8860855
Add paymentForm.id.
2021-03-30 17:18:08 +03:00
levlam
13a80bc4e8
Use send_closure_later to avoid cycles in add_message_to_dialog.
2021-03-29 22:36:29 +03:00
levlam
955ce5f946
Improve error message.
2021-03-29 22:25:06 +03:00
levlam
290293766f
Improve error message.
2021-03-29 21:43:50 +03:00
levlam
224b560c83
Improve error message on access to a closed secret chat.
2021-03-29 21:26:31 +03:00
levlam
732193b346
Fix default last_new_message_id in secret chats, broken in 9948e41aed
.
2021-03-29 20:52:59 +03:00
levlam
ad495c0d0c
Skip error logging for deleted bots.
2021-03-29 18:10:37 +03:00
levlam
079c9919d2
Parse push_receiver_id as int64.
2021-03-29 16:23:50 +03:00
Andrea Cavalli
66a58daf70
Fix segmentation fault
2021-03-29 14:04:37 +02:00
levlam
c739df8507
Pass UserId instead of int32 when creating secret chat.
2021-03-29 11:57:26 +03:00
levlam
5de3751d8d
Use int64 for sender_user_id in message database.
2021-03-29 11:28:43 +03:00
levlam
b5655ddab6
Pass UserId to Contact::Contact.
2021-03-29 08:20:54 +03:00
levlam
f5ab187bb2
Use UserId in PrivacyManager.
2021-03-29 01:34:33 +03:00
levlam
4f644ce389
Add and use statis UserId::get_user_ids/get_input_user_ids methods.
2021-03-29 00:50:15 +03:00
levlam
4df03c8491
Clamp float numbers before conversion to integers.
2021-03-28 22:33:22 +03:00
Andrea Cavalli
0c653e2526
Merge commit 'fbc7e5a7f845d6c8df12b11f5b9a5c9ffc6eea0e'
2021-03-28 12:57:26 +02:00
Andrea Cavalli
92f664614b
Fix #18
2021-03-28 12:50:00 +02:00
levlam
fbc7e5a7f8
Don't update group call participant count by definitely already applied updates.
2021-03-28 05:34:58 +03:00
levlam
cc0d45a01c
Add groupCallParticipant.is_current_user field.
2021-03-28 04:41:32 +03:00
levlam
9936cdc320
Fix handling of speaking in group call chat actions.
2021-03-28 04:03:00 +03:00
levlam
307821eb31
Never treat closed secret chats as just created.
2021-03-28 03:46:45 +03:00
levlam
7aa71edad2
Drop outdated *Full.invite_link stored in the database.
2021-03-28 03:36:14 +03:00
levlam
d74749c813
Drop basic group invite link if removed from administrators.
2021-03-28 03:25:08 +03:00
levlam
984e79b7f7
Drop channel invite link, only when corresponding administrator right is removed.
2021-03-28 02:35:11 +03:00
levlam
024601eb86
Don't call remove_dialog_access_by_invite_link on username change.
2021-03-28 02:07:38 +03:00
levlam
f7e9da283d
Expect that there can be no access to group call participant channels.
2021-03-28 01:59:17 +03:00
levlam
879fd3b7c0
Use add_message_sender_dependencies for default group call alias.
2021-03-28 01:55:39 +03:00
levlam
b84318fed4
Minor improvements.
2021-03-27 05:19:22 +03:00
levlam
66de95d93c
Fix compilation errors and formatting.
2021-03-26 18:52:45 +03:00
levlam
26dc0ad930
Update layer to 127.
2021-03-26 18:15:21 +03:00
Arseny Smirnov
5c7b7d4c85
TD_EXPERIMENTAL_WATCH_OS cmake option
2021-03-26 18:04:25 +03:00
levlam
f6b1ea8bdb
Forcely create Dialog in get_chat_member_object.
2021-03-26 04:20:11 +03:00
levlam
7a65988f29
Check that other chats are only banned or unbanned.
2021-03-26 04:15:13 +03:00
levlam
14fc0898ad
Support banning and unbanning channels and supergroups.
2021-03-26 04:11:30 +03:00
levlam
f28af4ab20
Add ContactsManager::get_participant_dialog_id.
2021-03-26 03:17:30 +03:00
levlam
ffc847dbf5
Replace search_among_users with search_among_dialogs.
2021-03-26 02:39:24 +03:00
levlam
b349696e7f
Force inputPeerChannel creation for bots.
2021-03-25 01:10:34 +03:00
levlam
206cd55479
Support chat-members in getChatMember.
2021-03-24 23:40:13 +03:00
levlam
adedc7ad4f
Support chats as members of other chats.
2021-03-22 04:03:24 +03:00
levlam
06791bbbf3
Update layer to 126.
2021-03-21 21:55:21 +03:00
Andrea Cavalli
316d87af77
Avoid printing an error when delaying get_difference
2021-03-21 13:00:55 +01:00
levlam
c6dec21cb6
Improve getExternalLinkInfo documentation.
2021-03-21 03:13:43 +03:00
Andrea Cavalli
78291a96d4
Merge commit '70b71d569b81c66b25f8f77d9536b1d41fbf091d'
2021-03-21 01:04:45 +01:00
Andrea Cavalli
e1771fa7de
Add an experimental option to delay get_channel_difference
2021-03-21 00:27:18 +01:00
levlam
f0e7b211c3
Use case-insensitive comparison for short mention entities.
2021-03-20 22:57:34 +03:00
levlam
70b71d569b
Use AccessRights::Know when edit channel participants.
2021-03-19 23:41:19 +03:00
levlam
302e5940d4
Update version to 1.7.3.
2021-03-19 15:30:40 +03:00
levlam
2f2d2004e6
Create Dialog for recently speaking channels.
2021-03-19 04:28:00 +03:00
levlam
78f5b24f35
Synchronize group call participant_count with known number of participants.
2021-03-19 04:02:53 +03:00
levlam
cebcdbd88b
Automatically call update_group_call_dialog in set_group_call_participant_count.
2021-03-19 03:30:39 +03:00
levlam
af7e26bc49
Try to process versioned updates with old version.
2021-03-19 02:51:50 +03:00
levlam
6656cd29f9
Add version to GroupCallParticipant.
2021-03-19 02:44:20 +03:00
levlam
b6f900b74f
Process mute updates as soon as possible.
2021-03-19 02:25:54 +03:00
levlam
f670aeb2b3
Simplify mute_updates processing.
2021-03-19 02:20:22 +03:00
levlam
12a755d921
Don't ignore update about ended group call if group call is being joined.
2021-03-19 01:28:18 +03:00
levlam
81f20ae4ec
Ignore FLOOD_WAIT errors got getGroupCallStreamSegment.
2021-03-19 01:24:57 +03:00
levlam
a6337c2d37
Improve logging.
2021-03-19 00:41:35 +03:00
levlam
ea5a7bade7
Add set_group_call_participant_count method.
2021-03-19 00:18:55 +03:00
levlam
35250a91bd
Keep active date while adjusting min-order.
2021-03-19 00:03:34 +03:00
levlam
504ecbeed7
Fix group call participant count by updates.
2021-03-18 23:31:49 +03:00
levlam
93ae3dc2f6
Improve logging.
2021-03-18 23:18:16 +03:00
levlam
0a23e2bd7b
Fix CHECK.
2021-03-18 22:55:15 +03:00
levlam
110a68c764
Try to get information about min-participants from server.
2021-03-18 22:36:59 +03:00
levlam
fee3ca166b
Apply prepended my_participant.
2021-03-18 22:03:14 +03:00
levlam
25e5c0bac2
Combine versioned updates with the same version instead of replacing.
2021-03-18 03:21:43 +03:00
levlam
e072f2ffa2
Add struct PendingUpdates.
2021-03-18 03:12:52 +03:00
levlam
b833d23e41
Support ascending by joined_date sort of group call participants.
2021-03-18 02:36:31 +03:00
levlam
1139470bba
Pass GroupCallParticipants to get_real_participant_order.
2021-03-17 19:56:00 +03:00
levlam
ccc9920399
Don't create Dialog for unknown min-participants.
2021-03-17 15:26:36 +03:00
levlam
ca6ece6707
Improve getGroupCallStreamSegment.
2021-03-17 14:30:51 +03:00
levlam
7e45fc3949
Add more close_flag checks.
2021-03-17 03:28:07 +03:00
levlam
2162fd6264
Postpone checkGroupCall after receiving a stream segment.
2021-03-17 03:16:34 +03:00
levlam
23b781834e
Fix updating recent speakers in joined as chats voice chats.
2021-03-17 02:56:33 +03:00
levlam
93a2cf0556
Fix updating participant_id_to_group_call_id_.
2021-03-16 23:23:05 +03:00
levlam
2e447b3cea
Don't process after_join requets if need rejoin.
2021-03-16 18:15:10 +03:00
levlam
c67a8cc5f9
Unify variable names and ensure that groupCallParticipant's chat is created.
2021-03-16 18:07:17 +03:00
levlam
582f033a09
Update limit for group call recording titlw length.
2021-03-16 17:20:53 +03:00
levlam
3bcf4bb61a
Get group call from the server before first usage if appropriate.
2021-03-16 17:17:00 +03:00
Andrea Cavalli
eb44f72a75
Merge commit 'd5f02b006600724c58edb86d356c494e9d30d1d1'
2021-03-16 13:07:27 +01:00
levlam
62c9890bcf
Support url_auth_domains.
2021-03-16 01:29:54 +03:00
levlam
54b9760935
Improve getExternalLink methods.
2021-03-16 00:52:37 +03:00
levlam
eb7a1286ab
Automatically update order of inactive group call participants.
2021-03-15 22:04:11 +03:00
levlam
24535d2aba
Support different order of group call participants for administrators.
2021-03-15 19:32:33 +03:00
levlam
0a4f1c15b8
Ensure that group call participant is synchronized after explicit request.
2021-03-15 19:20:57 +03:00
levlam
b0aa14c031
Improve get_real_participant_order.
2021-03-15 18:58:31 +03:00
levlam
7987912230
Use string as groupCallParticipant.order.
2021-03-15 18:53:51 +03:00
levlam
be68cda22f
Add class GroupCallParticipantOrder.
2021-03-15 18:32:28 +03:00
levlam
ff3600b762
Sync group call participants after rights changed.
2021-03-15 17:48:18 +03:00
levlam
95391dc705
Improve logging.
2021-03-15 16:42:03 +03:00
levlam
ffc07304a9
Improve searchMessages documentation.
2021-03-15 15:17:23 +03:00
levlam
0339921102
Improve some spelling.
2021-03-15 03:32:14 +03:00
levlam
b9f7668b07
Allow to always get self group call participant by user_id.
2021-03-15 02:15:01 +03:00
levlam
42911b9122
Add source to process_group_call_after_join_requests.
2021-03-15 02:03:52 +03:00
levlam
e2ac80f2ba
Add td_api::toggleGroupCallParticipantIsHandRaised.
2021-03-15 01:56:59 +03:00
levlam
449c37c41f
Fix building with Ninja.
2021-03-14 21:57:39 +03:00
levlam
58d9f668c1
Improve schedule_get_difference logging.
2021-03-14 05:19:07 +03:00
levlam
76dce207b3
Force getDifference after receiving an update with incorrect qts.
2021-03-14 05:08:37 +03:00
levlam
a4431b2604
Don't allow to show as speaking muted by admin participants.
2021-03-14 04:33:51 +03:00
levlam
4d754052e0
Fix getGroupCallStreamSegment.
2021-03-13 16:50:11 +03:00
Andrea Cavalli
2bcb81bec0
Describe memory cleanup errors
2021-03-13 11:58:58 +01:00
levlam
92b384f3f4
Update group call title length limit.
2021-03-13 02:49:40 +03:00
Andrea Cavalli
3e53ba98d3
Fix file manager
2021-03-13 00:25:19 +01:00
Andrea Cavalli
9115565603
Fix file manager
2021-03-12 21:12:01 +01:00
Andrea Cavalli
ce9a9ebbf9
Clean memory only if needed
2021-03-12 19:41:27 +01:00
levlam
9ac71272a3
Support joining group call as a stream listener.
2021-03-12 20:11:44 +03:00
Andrea Cavalli
062d1c2f5a
Small bugfix
2021-03-12 18:03:32 +01:00
levlam
a833d5e292
Improve method name.
2021-03-12 19:31:52 +03:00
levlam
0ec4c2084e
Add td_api::getGroupCallInviteLink.
2021-03-12 19:29:06 +03:00
levlam
73bed3ed80
Add resetGroupCallInviteHash method.
2021-03-12 18:58:43 +03:00
levlam
9bfd98c08d
Add joinGroupCall.invite_hash.
2021-03-12 18:36:55 +03:00
Andrea Cavalli
633856a413
Update tl-parser
2021-03-12 12:40:45 +01:00
Andrea Cavalli
4a1b295baa
Undo breaking database modifications, add tl-parser
2021-03-12 12:31:51 +01:00
levlam
0fb6c52cd4
Support toggling group call recording.
2021-03-11 22:19:19 +03:00
Andrea Cavalli
1ea79d2739
Merge latest commits
2021-03-11 18:25:39 +01:00
levlam
92218450c5
Add groupCall.record_duration.
2021-03-11 00:55:08 +03:00
levlam
a6544e3068
Use separate versions for different groupCall fields.
2021-03-10 23:43:21 +03:00
levlam
67889cdcbc
Add td_api::getGroupCallStreamSegment.
2021-03-10 22:50:14 +03:00
levlam
cd2fbc19e6
Save group call's stream_dc_id.
2021-03-09 18:12:15 +03:00
levlam
92d8d1b9fd
Improve log messages.
2021-03-09 01:06:38 +03:00
levlam
45b21b1f33
Improve log messages.
2021-03-08 22:56:05 +03:00
levlam
62cfe3bdd9
Add td_api::getAvailableVoiceChatAliases.
2021-03-08 20:25:56 +03:00
levlam
574884510b
Use MessageSender as participant_alias.
2021-03-08 18:08:41 +03:00
levlam
f24ca02f37
Add td_api::voiceChat class.
2021-03-08 17:00:39 +03:00
levlam
159c4f3f00
Remove race in default_join_as updating.
2021-03-08 15:27:47 +03:00
levlam
4eab57cd7b
Add chat.default_join_voice_chat_as_chat_id.
2021-03-08 15:13:36 +03:00
levlam
f4ce6c9de9
Update bio of group call participants when it is changed.
2021-03-07 13:06:34 +03:00
levlam
caa1db85ab
Prevent race in updating of joined voice chat.
2021-03-07 02:21:08 +03:00
levlam
dd4aac2f57
Init bio in fake updateGroupCallParticipant when joining call.
2021-03-07 01:54:45 +03:00
levlam
0615d1f61d
Prevent voice chat data updating during join.
2021-03-07 01:06:51 +03:00
levlam
c611553ece
Allow to join group call as a chat.
2021-03-06 23:21:22 +03:00
levlam
7a19e5dbe5
Support voice chat creation in channels.
2021-03-06 02:26:13 +03:00
levlam
29ded98a46
Use full paths for file dependencies.
2021-03-05 23:17:48 +03:00
levlam
16ab28f230
Allow to send speaking actions in read-only chats.
2021-03-05 20:06:37 +03:00
levlam
8ede5f736f
Support speaking typings by chats.
2021-03-05 18:49:02 +03:00
levlam
5e5aa95060
Add groupCallParticipant.is_hand_raised.
2021-03-05 16:44:43 +03:00
levlam
3bac31cc16
Allow to edit chat group call participants.
2021-03-05 16:03:49 +03:00
levlam
3d08e0e18f
Add groupCallParticipant.bio.
2021-03-05 15:27:52 +03:00
levlam
a93189dade
Support chats as group call participants.
2021-03-05 14:40:54 +03:00
levlam
af3070d572
Improve self-check.
2021-03-05 13:43:21 +03:00
levlam
e660e12a61
Pass Td to get_group_call_participant_object.
2021-03-05 12:50:39 +03:00
levlam
48eaccdf60
Add flag GroupCallParticipant.is_self.
2021-03-05 12:39:57 +03:00
levlam
13319350d3
Support zero audio_source.
2021-03-05 11:36:44 +03:00
levlam
2b090918c2
Fix handling of errors in CallActor::send_call_signaling_data.
2021-03-05 02:47:27 +03:00
levlam
1c3290bada
Fix warning.
2021-03-04 15:10:58 +03:00
levlam
d390c556fe
Silence tl-parser build warning.
2021-03-04 14:06:32 +03:00
levlam
a87af24fb9
Use tl-parser to generate tlo files.
2021-03-04 01:41:09 +03:00
levlam
08cdb75c0f
Add tl-parser.
2021-03-04 01:40:56 +03:00
levlam
b88f5ba6f3
Fix banChatMember for bots.
2021-03-03 19:30:33 +03:00
levlam
0c409cb79e
Ignore minithumbnails for JPEG sticker thumbnails.
2021-03-03 16:33:17 +03:00
levlam
b1da98faeb
Fix possible integer overflow.
2021-03-03 15:10:00 +03:00
levlam
882d837d24
Add td_api::setGroupCallTitle.
2021-03-02 19:44:57 +03:00
levlam
1f4e7aeb61
Add groupCall.title.
2021-03-02 18:00:54 +03:00
levlam
bcf3643cf7
Update layer to 125.
2021-03-02 17:27:44 +03:00
levlam
720a64962e
Improve sticker thumbnail format detection.
2021-03-02 04:50:14 +03:00
levlam
fe6fe481f6
Add document ID to SVG path warnings.
2021-03-02 04:48:02 +03:00
levlam
f06ea1bab3
Improve sticker thumbnail format detection.
2021-03-02 04:40:10 +03:00
levlam
dd80b0ef25
Add Td::set_is_bot_online function.
2021-03-02 04:06:02 +03:00
levlam
1f01a40521
Bring bots offline if there are no updates for 5 minutes.
2021-03-02 01:20:45 +03:00
levlam
a36f020084
Improve StickersManager::has_webp_thumbnail.
2021-03-01 23:48:48 +03:00
levlam
8430ba6d19
Remove expect_jpeg_minithumbnail parameter from get_photo_size.
2021-03-01 23:29:55 +03:00
levlam
1d9b817c9f
Remove updateGroupCall logging for bots.
2021-03-01 04:24:05 +03:00
levlam
2bc3d7424b
Improve logging of unsupported SVG paths.
2021-03-01 04:19:50 +03:00
levlam
de0a2a03e5
Return better error for empty invite links.
2021-03-01 02:57:14 +03:00
levlam
813b141148
Fix channelParticipantSelf handling.
2021-03-01 02:33:38 +03:00
levlam
3b3801abbe
Update layer 124.
2021-02-25 21:09:13 +03:00
levlam
b348e4e1bc
Update version to 1.7.2.
2021-02-25 16:09:55 +03:00
levlam
18fc612b3b
Rename administrator_user_id to creator_user_id.
2021-02-25 16:02:07 +03:00
levlam
c733f8ed34
Minor improvements.
2021-02-25 15:56:26 +03:00
levlam
1e7795354d
Add td_api::getChatInviteLink.
2021-02-24 22:25:10 +03:00
levlam
37adbece28
Allow to join already joined group call.
2021-02-24 14:58:02 +03:00
levlam
2dd85f92d8
Rename permanent invite links to primary invite links.
2021-02-24 12:19:55 +03:00
levlam
11bbb5bfad
tg_cli: add updateNewMessage processing in test DC.
2021-02-24 11:24:48 +03:00
levlam
eafdf2ebed
Add td_api::getMessageImportConfirmationText.
2021-02-23 02:03:24 +03:00
levlam
c5f84de9cd
Support channel suggested actions.
2021-02-22 23:34:10 +03:00
levlam
332b7a6edb
Support dismissing of chat-specific suggested actions.
2021-02-22 19:38:40 +03:00
levlam
e19f59662e
Move functions for handling suggested actions to SuggestedActions.cpp.
2021-02-22 18:25:49 +03:00
levlam
b67bafb23c
Add td_api::suggestedActionConvertToBroadcastGroup.
2021-02-22 18:06:18 +03:00
levlam
a14c9071f1
Use struct for SuggestedAction.
2021-02-21 01:06:45 +03:00
levlam
a41bca4b0e
Move get_update_suggested_actions_object to SuggestedAction.cpp.
2021-02-21 00:21:14 +03:00
levlam
c07a1dac22
Unify UserFull/ChatFull/ChannelFull variable names.
2021-02-20 22:20:02 +03:00
levlam
6bbc251cb5
tg_cli: treat strings as usernames.
2021-02-20 22:01:12 +03:00
levlam
16913bff03
Improve date changed warning.
2021-02-20 21:32:07 +03:00
levlam
65e7a271a2
Add variables for old/new content type.
2021-02-20 21:21:06 +03:00
levlam
de71870e83
Repair file_reference in reportChatPhoto.
2021-02-20 21:06:58 +03:00
levlam
c67a0d9d7b
Add class ReportReason.
2021-02-20 03:55:09 +03:00
levlam
3774b13ca1
Add td_api::reportChatPhoto.
2021-02-19 19:11:27 +03:00
levlam
2e943a6c85
Fix misprint.
2021-02-19 16:37:44 +03:00
levlam
ada09fecee
Add can_manage_chat administrator privilege.
2021-02-19 15:58:14 +03:00
levlam
60e45f6457
Fix processing of qts updates.
2021-02-19 14:43:16 +03:00
levlam
ce80a2f12f
Improve qts gap debug.
2021-02-19 14:12:50 +03:00
levlam
62a4c0c58d
Add updateChatMember.
2021-02-19 13:57:46 +03:00
levlam
d765c58d86
tg_cli: improve variable name.
2021-02-19 13:13:39 +03:00
levlam
fd190bc9bd
Process updateChatParticipant and updateBotStopped.
2021-02-19 02:16:50 +03:00
levlam
ad43c83bce
Add DialogParticipant constructor from telegram_api::ChatParticipant.
2021-02-19 01:38:16 +03:00
levlam
b9b6b05bae
Don't allow changing auto-delete in Saved Messages and 777000.
2021-02-18 22:14:10 +03:00
levlam
7eb751083c
Add can_inite_users right check just in case.
2021-02-18 16:24:22 +03:00
levlam
998d022b2d
Add td_api::chatEventVoiceChatParticipantVolumeLevelChanged.
2021-02-18 13:47:33 +03:00
levlam
9b62afbea2
Add td_api::toggleSupergroupIsBroadcastGroup.
2021-02-17 01:06:35 +03:00
levlam
498476a95d
Update documentation.
2021-02-16 18:59:13 +03:00
levlam
5955b43d88
Add supergroup.is_broadcast_group flag.
2021-02-16 18:27:17 +03:00
levlam
12ead50446
Add number of revoked invite link to chatInviteLinkCount.
2021-02-16 15:31:58 +03:00
levlam
79d2929584
support ttl_period for service messages.
2021-02-16 15:26:52 +03:00
levlam
f92339de85
Support telegram_api::messageActionSetMessagesTTL.
2021-02-16 15:15:45 +03:00
levlam
65d4229352
Allow to specify report text for all report chat reasons.
2021-02-12 20:14:59 +03:00
levlam
c1a14d887b
Don't send updateDeleteMessage twice for the same message.
2021-02-10 14:36:33 +03:00
levlam
d6da217b9a
Allow changing message TTL in non-secret chats.
2021-02-09 18:51:08 +03:00
levlam
5ac0a9bd8a
Add chatEventMessageTtlSettingChanged.
2021-02-09 18:10:20 +03:00
levlam
4423ccbde2
Add invite_link_changes filter for chat event log.
2021-02-09 17:59:57 +03:00
levlam
54b7b0f6e3
Return message ttl for ordinary self-destructing messages.
2021-02-09 17:51:20 +03:00
levlam
cc50f3b143
Support receiving message TTL setting for all chat types.
2021-02-09 17:35:48 +03:00
levlam
2913b7288b
Add MessageTtlSetting class.
2021-02-09 16:05:00 +03:00
levlam
876932843a
Support automatic deletion of messages by ttl_period.
2021-02-08 23:41:17 +03:00
levlam
bf42d62f1e
Unify ResultHandler subclass names and logged name.
2021-02-08 15:56:08 +03:00
levlam
c226a204fa
Diallow invite link deletion for bots.
2021-02-08 15:34:05 +03:00
levlam
f46ff6e1cd
Update permanent invite link after it is revoked.
2021-02-05 19:23:29 +03:00
levlam
4cb8af0584
Support revoking permanent chat invite links.
2021-02-05 18:56:44 +03:00
levlam
313a58b952
Replace td_api::sendChatSetTtlMessage with td_api::setChatMessageTtl.
2021-02-05 14:21:16 +03:00
levlam
9d9e093640
Remove inviteLink.is_expired field.
2021-02-05 03:04:16 +03:00
levlam
fef8bd151c
Support some new chat events.
2021-02-05 02:54:34 +03:00
levlam
342b4e45ca
Support deletion of all revoked invite links created by other administrator.
2021-02-05 02:17:12 +03:00
levlam
4d8fad1e81
Use httpUrl as return type of getProxyLink.
2021-02-05 01:46:55 +03:00
levlam
45dfb58cc5
Save autologin domains between restarts.
2021-02-05 01:40:53 +03:00
levlam
2193928cf6
Add getExternalLink method.
2021-02-04 14:36:11 +03:00
levlam
1403815148
Support t.me/+ links.
2021-02-03 22:35:43 +03:00
levlam
f2f68aa3b3
Add td_api::getChatInviteLinkCounts.
2021-02-02 19:23:45 +03:00
levlam
0cdb0388ee
Improve TTL spelling.
2021-02-02 02:33:48 +03:00
levlam
642a9a9efb
Update layer to 124.
2021-02-02 02:00:28 +03:00
levlam
4b2db994d0
Postpone group call actions till join if possible.
2021-02-16 13:08:58 +03:00
levlam
d84aa0927f
Don't add self-participant before join group call if don't have self-user info.
2021-02-15 23:16:39 +03:00
levlam
70ee36a493
Improve join_group_call.
2021-02-15 23:00:30 +03:00
levlam
f9ef4c0c36
Don't rejoin voice chats in left basic groups.
2021-02-15 19:27:45 +03:00
levlam
aa2f645d74
Simplify get_group_call_participant usage.
2021-02-15 18:18:34 +03:00
levlam
5f54e72444
Process toggleGroupCallMuteNewParticipants immediately and sync in background.
2021-02-15 18:12:50 +03:00
levlam
70b81f81d4
Drop pending groupCallParticipant fields in case of an error.
2021-02-15 16:06:07 +03:00
levlam
4f41d58c50
Don't treat GROUPCALL_NOT_MODIFIED as an error.
2021-02-15 15:37:36 +03:00
levlam
d519040cd9
Make flag in td_api::groupCall more useful.
2021-02-15 15:28:58 +03:00
levlam
c8157edf57
Don't save message file source IDs for bots.
2021-02-14 01:35:40 +03:00
levlam
578b8a4dec
Minor performance improvements.
2021-02-14 01:25:17 +03:00
levlam
65b381f7fd
Add fast path in fix_formatted_text.
2021-02-13 22:45:11 +03:00
levlam
025cb9b6a4
Don't create request promise early.
2021-02-13 21:49:24 +03:00
levlam
3a657d9072
Fix need_rejoin.
2021-02-12 17:49:20 +03:00
levlam
155d83c58f
Support top-level comments in SplitSource.php.
2021-02-12 17:27:07 +03:00
levlam
22289fe68b
Move struct definition back to header to fix SplitSource-build.
2021-02-12 16:53:40 +03:00
levlam
f21e315456
Remove need_rejoin for inaccessible voice chats.
2021-02-12 16:48:14 +03:00
levlam
ba91f7f6ce
Don't send speaking typings more often than once in 4 seconds.
2021-02-12 16:48:14 +03:00
levlam
18bbb47ecd
Fix groupCall version updating and dropping.
2021-02-12 16:48:13 +03:00
levlam
ca64ad144a
Immediately send updateGroupCallParticipant when is_muted changes.
2021-02-12 16:48:13 +03:00
levlam
1412e83363
Immrove groupCallParticipant mute-related flags.
2021-02-12 16:48:13 +03:00
levlam
631dde0939
Simpify handling of groupCallParticipant.is_muted flags.
2021-02-12 16:48:13 +03:00
levlam
1c52ee815e
Improve groupCall.can_unmute_self synchronization.
2021-02-12 16:48:13 +03:00
levlam
e7a686cc96
Immediately change is_joined state to false after leaveGroupCall.
2021-02-12 16:48:13 +03:00
levlam
a80f99f5b8
Allow to leave being joined calls.
2021-02-12 16:48:13 +03:00
levlam
9554a42cd3
Add cancel_join_group_call_request function.
2021-02-12 16:48:13 +03:00
levlam
7ef5772861
Add self to group call participant list before actual join.
2021-02-12 16:48:13 +03:00
Arseny Smirnov
0c90ca3784
some cryptography draft
2021-02-10 23:25:28 +03:00
levlam
4a60fb10e8
Always update recent_speakers, because is_speaking could be changed.
2021-02-10 15:48:06 +03:00
levlam
b767414fc1
Resave dialog if last message can't be added.
2021-02-10 15:25:18 +03:00
levlam
bfeb516bf0
Add secret chat layer 123.
2021-02-06 23:29:01 +03:00
levlam
f1f739648c
Fix banChatMember description.
2021-02-06 22:54:36 +03:00
levlam
f5b04a5701
Improve condition for updating self in a group call
2021-02-04 22:45:02 +03:00
levlam
23b8c9073b
Always update self group call participant if audio_source changes.
2021-02-04 17:28:19 +03:00
levlam
a3cdc8ffef
Fix CE.
2021-02-04 16:49:41 +03:00
levlam
65a7715248
Pass promise to MessagesManager::on_dialog_deleted.
2021-02-04 16:01:04 +03:00
levlam
e031a2c6c1
Improve Slice::truncate usage.
2021-02-04 15:54:12 +03:00
levlam
b07a9efb2e
Disable SFTP link highlighting.
2021-02-03 21:08:01 +03:00
levlam
8146ecf950
Don't expect local volume_level for admins.
2021-02-03 20:12:17 +03:00
levlam
be6793ec07
Always add self to group call participant list if absent.
2021-02-03 19:55:33 +03:00
levlam
9f2b41b9d1
Allow to call leaveGroupCall for calls with need_rejoin.
2021-02-03 19:05:46 +03:00
levlam
630f0fe6df
Always show self in list of group call participants.
2021-02-03 18:58:06 +03:00
levlam
4371ed52af
Don't drop group call participants while need to rejoin.
2021-02-03 17:55:08 +03:00
levlam
778a45029e
Ignore min-updates about unknown group call participants.
2021-02-02 01:29:02 +03:00
levlam
c05ece2cb5
Add GroupCallParticipant::update_from method.
2021-02-02 01:06:49 +03:00
levlam
658db2defd
Update volume_level locally immediately.
2021-02-02 00:40:40 +03:00
levlam
1f1d1b442b
Fix updating of is_muted_only_for_self by min-updates.
2021-02-01 22:40:42 +03:00
levlam
dfdc08162e
Fix updating of volume_level by min-updates.
2021-02-01 22:29:45 +03:00
levlam
e3cb608293
Remove was_auth flag.
2021-02-01 15:07:10 +03:00
levlam
90b34e7d0c
Remove authorization loss logic from DcAuthManager, because we can be logged before entering password and before authorization.
2021-02-01 14:51:38 +03:00
levlam
ad0c5e6783
Minor improvements.
2021-02-01 13:41:20 +03:00
levlam
c6466caee2
Add logging on long pts gap filling.
2021-02-01 13:06:38 +03:00
levlam
a29f4b43d4
Load even known group call participant after receiving typing from them.
2021-02-01 03:03:17 +03:00
levlam
41f6003b09
Fix supergroupMembersFilterMention with non-zero thread.
2021-01-31 20:46:51 +03:00
levlam
a6a6237a3f
Split need_group_call_participants into two functions.
2021-01-30 23:52:16 +03:00
levlam
be815519f1
Improve documentation.
2021-01-29 22:16:28 +03:00
levlam
312e3b740a
Update version to 1.7.1.
2021-01-28 22:18:33 +03:00
levlam
f0355b42c4
Disable notifications for importe messages.
2021-01-28 22:12:55 +03:00
levlam
9e37c85af3
Minor improvements.
2021-01-27 02:57:59 +03:00
levlam
cd3abdbeb2
Move dialog participant methods from MessagesManager to ContactsManager.
2021-01-27 02:16:17 +03:00
levlam
d246318a5c
Update permanent invite link after replacing.
2021-01-26 23:59:09 +03:00
levlam
37ef232d47
Fix function name.
2021-01-26 23:15:33 +03:00
levlam
6878b41dc7
Update layer 123.
2021-01-26 13:07:03 +03:00
levlam
d648ce0b69
Remove chatActionImportingMessages.
2021-01-26 03:13:09 +03:00
levlam
ef59e47807
Fix uploadImportedMedia.
2021-01-26 02:55:48 +03:00
levlam
15fe7f7a04
Rename suggested_name to suggested_path.
2021-01-26 02:39:48 +03:00
levlam
0b868c0aad
Add chatActionBarInviteMembers.
2021-01-26 02:22:35 +03:00
levlam
f77adeb28c
Update layer 123.
2021-01-26 02:00:12 +03:00
Andrea Cavalli
9a01a9da1d
Merge commit 'e72c129f9ce3b7463c7a42406aab0d3ebffdc6be'
...
Conflicts:
td/telegram/MessagesManager.cpp
2021-01-23 22:47:58 +01:00
levlam
60b76e89aa
Allow import messages with can_change_info administrator right.
2021-01-22 23:45:39 +03:00
levlam
6ddce1dd7a
Add name to messageFileTypePrivate.
2021-01-22 22:42:32 +03:00
levlam
e584eccc65
Add createNewSupergroupChat.for_import.
2021-01-22 19:23:44 +03:00
levlam
1159323ecc
Add getMessageFileType method.
2021-01-22 19:14:35 +03:00
levlam
bff723436a
Upload inported messages as small files.
2021-01-22 18:13:38 +03:00
levlam
f307200ddc
Support attachment upload in importMessages.
2021-01-22 17:09:08 +03:00
levlam
6f38576467
Add FileManager::guess_file_type.
2021-01-22 15:17:56 +03:00
levlam
b8d8f18b91
Add chatReportReasonFake.
2021-01-22 00:55:42 +03:00
levlam
516f9cb9ce
Add importMessages method.
2021-01-21 22:00:08 +03:00
levlam
01f613f7bf
Add user/supergroup.is_fake.
2021-01-21 13:40:22 +03:00
levlam
ebb453c952
Add messageForwardOriginMessageImport.
2021-01-21 12:49:05 +03:00
levlam
b54554c79e
Add chatActionImportingMessages.
2021-01-21 01:50:21 +03:00
levlam
1d5de77b1f
Remove superflous documentation.
2021-01-20 21:21:39 +03:00
levlam
da4d2b7636
Add separate banChatMember method.
2021-01-20 21:12:48 +03:00
levlam
7a45faff24
Add offset_date support in getChatInviteLinks.
2021-01-20 17:30:26 +03:00
levlam
1b7c6a9c31
Update layer 123.
2021-01-20 16:12:03 +03:00
levlam
613caeb444
Add source to send_get_dialog_query.
2021-01-20 15:02:45 +03:00
levlam
dbf1253075
Replace deleteSupergroup with universal deleteChat method.
2021-01-20 14:49:18 +03:00
levlam
c7e4abb0a5
Add deleteChat method support.
2021-01-19 14:10:25 +03:00
levlam
4fa29ab1b8
Add deleteAllCallMessages method.
2021-01-19 13:21:50 +03:00
levlam
3ff68546ab
Add separate td_api::replacePermanentChatInviteLink method.
2021-01-18 23:04:56 +03:00
levlam
936dbbb254
Add separate method for revoking chat invite links.
2021-01-18 22:35:28 +03:00
levlam
840c1ba8f9
Ignore *FullInfo without invite link.
2021-01-18 20:29:02 +03:00
levlam
3f91df5a47
Add td_api::deleteRevokedChatInviteLink.
2021-01-18 19:59:21 +03:00
levlam
93645ca29d
Add td_api::deleteRevokedChatInviteLink.
2021-01-18 19:51:46 +03:00
levlam
d52c676912
Add getChatInviteLinks.is_revoked.
2021-01-18 19:32:53 +03:00
levlam
091d08b6a9
Improve encryptedChatDiscarded handling.
2021-01-18 19:02:24 +03:00
levlam
e72c129f9c
Ignore getDifference errors while closing.
2021-01-18 15:54:29 +03:00
levlam
cc8c0cbe64
Support delete_history flag in messages.discardEncryption.
2021-01-18 15:04:31 +03:00
levlam
027c78c691
Remove wrong error logging.
2021-01-18 13:32:44 +03:00
levlam
520f55d31f
Remove expected error logging.
2021-01-18 12:58:16 +03:00
levlam
a2c1a695d2
Add edit date to information about chat invite links.
2021-01-17 23:24:48 +03:00
levlam
65bf9ad604
Improve field names and documentation.
2021-01-17 23:07:17 +03:00
Andrea Cavalli
c3a9f9fe2d
Fix crash
2021-01-17 12:44:07 +01:00
levlam
ea70b5abaf
Update layer 123.
2021-01-17 04:05:30 +03:00
levlam
3ae02a64c1
Make ContactsManager struct declarations private.
2021-01-16 19:23:57 +03:00
levlam
451c0afe60
Fix ChatFullInfo reloading due to uninited is_is_blocked_inited.
2021-01-16 12:33:45 +03:00
levlam
2348e175d9
Add source to get_chat_full_force.
2021-01-16 12:30:48 +03:00
levlam
52b7f8f118
Add DialogParticipantFilter logging.
2021-01-16 11:56:02 +03:00
levlam
db77165dad
Optimize ContactsManager::search_among_users.
2021-01-16 03:14:15 +03:00
levlam
35c4562fc5
Make on_server_pong private.
2021-01-16 02:59:03 +03:00
levlam
7a94cac200
Make on_get_updates_state private.
2021-01-16 02:55:47 +03:00
levlam
7c0af14d09
Make on_get_difference private.
2021-01-16 02:44:58 +03:00
levlam
0e961b0be7
Move dummyUpdate/updateSentMessage to UpdatesManager.
2021-01-16 01:51:01 +03:00
levlam
004876dcf0
Make get_pts/get_qts/get_date private.
2021-01-16 01:42:06 +03:00
levlam
ef920f297d
Move handling of pending pts updates to UpdatesManager.
2021-01-16 01:17:35 +03:00
levlam
3c1341731c
Move check_pts_update to UpdatesManager.
2021-01-15 23:39:34 +03:00
Andrea Cavalli
919711d003
Use glibc malloc
2021-01-15 18:25:14 +01:00
levlam
67403c586b
Remove force_apply parameter from on_update.
2021-01-15 19:32:16 +03:00
levlam
24664db3cb
Forcely process qts updates in process_updates.
2021-01-15 19:09:00 +03:00
levlam
76fac90693
Simplify telegram_api::updateMessageID processing.
2021-01-15 18:52:41 +03:00
levlam
2eacc1f974
Forcely process pts updates in process_updates.
2021-01-15 18:45:26 +03:00
levlam
dc45d89848
Make searchStickers response cache time-bound.
2021-01-15 14:54:07 +03:00
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
daef481ac0
Add group video calls support.
2021-01-12 17:05:25 +03:00
levlam
4bb76a7b6f
Update layer to 128. Remove photo volume_id/local_id.
2021-04-16 17:43:51 +03: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