Commit Graph

296 Commits

Author SHA1 Message Date
levlam
8e0f14bc93 Allow to join group call with enabled/disabled video. 2021-05-01 21:13:51 +03:00
levlam
31c36aaa7a Add td_api::endGroupCallScreenSharing. 2021-04-30 20:21:07 +03:00
levlam
2225e56906 Add startGroupCallScreenSharing. 2021-04-30 19:53:39 +03:00
levlam
2061210089 Add groupCall.can_start_video. 2021-04-30 18:19:05 +03:00
levlam
6e7c53eb74 Remove legacy groupCall payload types. 2021-04-30 17:49:00 +03:00
levlam
d8b905a986 Update layer to 129. 2021-04-30 17:07:01 +03:00
levlam
daef481ac0 Add group video calls support. 2021-01-12 17:05:25 +03:00
levlam
d03bad88b4 Improve log messages. 2021-05-17 19:11:59 +03:00
levlam
a6a4eb6616 Don't include SliceBuilder.h in logging.h. 2021-05-17 15:21:11 +03:00
levlam
ec362f9e2b Add more logging on failed CHECK. 2021-05-09 01:00:02 +03:00
levlam
7dbee21918 Fix sending of updateGroupCallParticipant in some rare cases. 2021-05-07 02:10:37 +03:00
levlam
b262ec809f Don't get group calls from the server by bots. 2021-04-14 14:59:22 +03:00
levlam
b7d993c477 Remove groupCall.can_self_unmute in favor of groupCallParticipant fields. 2021-04-13 01:58:40 +03:00
levlam
4b212b0728 Restore correct can_* flags after failed mute/unmute. 2021-04-11 03:39:30 +03:00
levlam
c87acefd56 Use correct group call participant ID for self. 2021-04-11 02:37:01 +03:00
levlam
a54fa0909b Improve updates on group call leaving. 2021-04-09 18:50:07 +03:00
levlam
37cee0d823 Add td_api::setVoiceChatDefaultParticipant. 2021-04-07 16:25:29 +03:00
levlam
10bc074a1e Support subscription to group call start notification. 2021-04-07 03:04:56 +03:00
levlam
a7c34c5c49 Add td_api::startScheduledGroupCall. 2021-04-07 02:11:14 +03:00
levlam
49fecf40e6 Add groupCall.scheduled_start_date. 2021-04-06 12:08:47 +03:00
levlam
2241058f85 Allow to create scheduled voice chats. 2021-04-06 02:54:55 +03:00
levlam
02fe7e47e6 Allow to specify title of created voice chats. 2021-04-06 02:13:57 +03:00
levlam
47066bbffb Take into account raised hands when sorting group call participants for non-muted users. 2021-04-06 01:48:41 +03:00
levlam
26dc0ad930 Update layer to 127. 2021-03-26 18:15:21 +03:00
levlam
adedc7ad4f Support chats as members of other chats. 2021-03-22 04:03:24 +03:00
levlam
eb8e135ae3 Fix dropping group call's can_be_managed flag on leaving. 2021-04-12 04:45:35 +03:00
levlam
94368950a6 Remove wrong CHECK. It is wrong to compare orders with different keep_active_date. 2021-04-08 01:23:04 +03:00
levlam
a0dcd2d9c2 Add optional source to have_dialog_force. 2021-04-08 00:51:32 +03:00
levlam
35d6145d66 Drop loaded_all_participants if receive a group call participant in non-loaded part of the list. 2021-04-05 22:50:57 +03:00
levlam
2c154f5e4a Add source to send_update_group_call_participant. 2021-04-05 22:39:38 +03:00
levlam
8b4410d2bf Improve group call participant logging. 2021-04-05 22:24:10 +03:00
levlam
c4eb613a7a Always include self to participant count in joined calls. 2021-04-05 03:02:52 +03:00
levlam
514777aaf1 Fix infinite updates processing. 2021-04-05 02:27:13 +03:00
levlam
f51e7b5481 Fix handling of group call participant list with one participant. 2021-04-05 01:52:20 +03:00
levlam
62a858807a Drop loaded_all_participants if new user was added to the end of the list. 2021-04-05 01:14:45 +03:00
levlam
09859193b1 Add source to on_group_call_left_impl. 2021-04-05 00:33:21 +03:00
levlam
b7e77765be Fix accessing group call's leave_version. 2021-03-31 15:45:21 +03:00
levlam
fbc7e5a7f8 Don't update group call participant count by definitely already applied updates. 2021-03-28 05:34:58 +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
70b71d569b Use AccessRights::Know when edit channel participants. 2021-03-19 23:41:19 +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
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
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
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
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
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
a4431b2604 Don't allow to show as speaking muted by admin participants. 2021-03-14 04:33:51 +03:00
levlam
92b384f3f4 Update group call title length limit. 2021-03-13 02:49:40 +03:00
levlam
9ac71272a3 Support joining group call as a stream listener. 2021-03-12 20:11:44 +03: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
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
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