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 |
|
levlam
|
0fb6c52cd4
|
Support toggling group call recording.
|
2021-03-11 22:19:19 +03: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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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 |
|
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
|
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 |
|