Commit Graph

135 Commits

Author SHA1 Message Date
levlam
bf42d62f1e Unify ResultHandler subclass names and logged name. 2021-02-08 15:56:08 +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
3a657d9072 Fix need_rejoin. 2021-02-12 17:49:20 +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
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
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
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
a29f4b43d4 Load even known group call participant after receiving typing from them. 2021-02-01 03:03:17 +03:00
levlam
a6a6237a3f Split need_group_call_participants into two functions. 2021-01-30 23:52:16 +03:00
levlam
cd3abdbeb2 Move dialog participant methods from MessagesManager to ContactsManager. 2021-01-27 02:16:17 +03:00
levlam
70b4838a21 Rename source to audio_source. 2021-01-11 15:02:02 +03:00
levlam
6bba5a568a Add setGroupCallParticipantVolumeLevel. 2021-01-02 22:59:48 +03:00
levlam
7bf916f4f5 Support muting group call participants for self. 2020-12-31 02:48:45 +03:00
levlam
91e5b9e677 Update layer to 123. Rename Android Pay to Google Pay. 2020-12-29 16:43:58 +03:00
levlam
d25edad06d Rewrite searchChatMembers and getSupergroupMembers implementation. 2021-01-25 17:34:45 +03:00
levlam
ef160aa2c0 Add struct DialogParticipants. 2021-01-25 02:00:57 +03:00
levlam
52b7f8f118 Add DialogParticipantFilter logging. 2021-01-16 11:56:02 +03:00
levlam
27d3fdd09d Update group call join missing error message text. 2021-01-08 18:15:16 +03:00
levlam
db3875710b Show recently joined voice chat participants as recent speakers. 2021-01-05 22:48:10 +03: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
levlam
865009fffc Include improvements. 2021-01-01 01:52:01 +03:00
levlam
45149bb3cd Allow multiple updateGroupCall updates for just created calls. 2020-12-30 18:41:44 +03:00