Commit Graph

294 Commits

Author SHA1 Message Date
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
6e3e129b13 Improve group call method and field names. 2020-12-08 18:01:06 +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
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
91d4b57713 Add recent group call speakers. 2020-12-06 10:40:26 +03:00
levlam
f3c8ae83c5 Update channel when its group call is changed. 2020-12-05 21:28:57 +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
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
levlam
eeee625803 Rename createVoiceChat method. 2020-12-03 01:08:20 +03:00
levlam
7f9681313a Update layer 122. 2020-11-29 15:41:03 +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
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