Commit Graph

96 Commits

Author SHA1 Message Date
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
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
levlam
3589676550 Minor fixes. 2020-12-22 15:51:57 +03:00
levlam
7d73126506 Add success promise to on_get_updates. 2020-12-21 22:06:52 +03:00
levlam
956e70d841 Add groupCall.can_be_managed flag. 2020-12-21 13:47:19 +03:00
levlam
a640fb2fe0 Add to_string method for vector of TL objects. 2020-12-21 03:02:20 +03:00
levlam
c2ac73769f Fix self is_speaking flag. 2020-12-20 02:10:02 +03:00
levlam
3413e38a61 Fix can_be_muted flag. 2020-12-18 17:08:24 +03:00
levlam
8dd4fe3166 Separately apply versioned and unversioned group call updates. 2020-12-18 16:23:49 +03:00
levlam
f5a122c65d Allow zero source in setGroupCallParticipantIsSpeaking. 2020-12-17 23:12:44 +03:00
levlam
2a50685321 Add separate GroupCallManager::on_update_group_call_rights method. 2020-12-17 18:27:01 +03:00
levlam
e89d353b68 Add groupCall.need_rejoin flag. 2020-12-17 17:49:15 +03:00
levlam
c4d8f301a1 Add groupCallParticipant.can_be_muted/can_be_unmuted flags. 2020-12-17 02:07:05 +03:00
levlam
bfcc7d17c4 Improve GroupCallParticipant updating. 2020-12-17 00:37:42 +03:00
levlam
4a3375e617 Various group call fixes. 2020-12-16 22:49:24 +03:00
levlam
6ebe28cdac Load group call administrators. 2020-12-16 20:30:52 +03:00
levlam
0d7c980f9d Fix nullptr dereference during logging. 2020-12-16 18:57:34 +03:00
levlam
ca242e754b Keep biggest update list for a given version instead of forced sync. 2020-12-16 18:40:51 +03:00
levlam
0e668726bc Update can_unmute_self only if the user is muted. 2020-12-16 18:09:32 +03:00
levlam
92327f1fe7 Ignore checkGroupCallIsJoined requests first 10 seconds. 2020-12-16 17:02:09 +03:00
levlam
d165a87b73 Reload group call if rights has changed. 2020-12-16 16:38:06 +03:00
levlam
3681da21d8 Automatically close unclosed contours. 2020-12-16 16:04:27 +03:00
levlam
7fc2e783ed Add groupCall.can_unmute_self. 2020-12-16 14:04:07 +03:00
levlam
f50971625f Fix version initialization. 2020-12-16 12:53:17 +03:00
levlam
babd4dc35d Add source to on_update_dialog_group_call. 2020-12-15 19:25:07 +03:00
levlam
62dc71cbc5 Add GroupCallManager::update_group_call_dialog method. 2020-12-15 19:20:03 +03:00
levlam
d022dfdb62 Add GroupCallManager::can_manage_group_calls method. 2020-12-15 18:21:02 +03:00
levlam
f95366a219 Leave group call when receive corresponding update. 2020-12-15 17:06:11 +03:00
levlam
25d1fde985 Add source to send_update_group_call. 2020-12-15 16:24:38 +03:00
levlam
0d76d53cd5 Process updateGroupCallParticipant even don't need participant list. 2020-12-15 16:06:21 +03:00
levlam
adca19d4da Fix group call version initialization. 2020-12-15 15:40:52 +03:00
levlam
ecc1669e5a Update recent speakers by received in getGroupCall participants. 2020-12-15 15:17:53 +03:00
levlam
1c02363418 Update recent speakers by updateGroupParticipants. 2020-12-15 14:54:47 +03:00
levlam
db99c9817d Fix group call updating after initialization. 2020-12-15 14:32:08 +03:00
levlam
b4e087a2f0 Remove users from recent speakers when they leave the call. 2020-12-15 14:04:06 +03:00
levlam
42f36d2d66 Improve loadGroupCallPartiicpants documentation. 2020-12-15 13:40:04 +03:00
levlam
c63da4b241 Add group call participants syncronization. 2020-12-15 12:41:26 +03:00
levlam
37a17476c7 Update is_speaking field for speaking group call participants. 2020-12-15 01:42:16 +03:00
levlam
96acefc6c6 Update layer 122. 2020-12-14 16:52:25 +03:00