Skip to content

Commit

Permalink
Merge branch 'release/v7.2.1' into 'master'
Browse files Browse the repository at this point in the history
Release 7.2.1

See merge request megachat/MEGAchat!2023
  • Loading branch information
adlonMEGA committed Dec 19, 2024
2 parents eec36bb + 991c8df commit 6ddf3a3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions bindings/Objective-C/Private/DelegateMEGAChatCallListener.mm
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
MegaChatCall *tempCall = call->copy();
MEGAChatSdk *tempMEGAChatSdk = this->megaChatSdk;
id<MEGAChatCallDelegate>tempListener = this->listener;
dispatch_async(dispatch_get_main_queue(), ^{
dispatch(this->queueType, ^{
[tempListener onChatCallUpdate:tempMEGAChatSdk call:[[MEGAChatCall alloc] initWithMegaChatCall:tempCall cMemoryOwn:YES]];
});
}
Expand All @@ -33,7 +33,7 @@
MegaChatSession *tempSession = session->copy();
MEGAChatSdk *tempMEGAChatSdk = this->megaChatSdk;
id<MEGAChatCallDelegate>tempListener = this->listener;
dispatch_async(dispatch_get_main_queue(), ^{
dispatch(this->queueType, ^{
[tempListener onChatSessionUpdate:tempMEGAChatSdk chatId:chatid callId:callid session:[MEGAChatSession.alloc initWithMegaChatSession:tempSession cMemoryOwn:YES]];
});
}
Expand Down
18 changes: 9 additions & 9 deletions bindings/Objective-C/include/MEGAChatCall.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ typedef NS_ENUM (NSInteger, MEGAChatCallNotificationType) {
@property (nonatomic, readonly) uint64_t peeridCallCompositionChange;
@property (nonatomic, readonly) MEGAChatCallCompositionChange callCompositionChange;
@property (nonatomic, readonly) NSInteger numParticipants;
@property (nonatomic, readonly) MEGAHandleList *participants;
@property (nonatomic, readonly) MEGAHandleList *sessionsClientId;
@property (nonatomic, readonly, nullable) MEGAHandleList *participants;
@property (nonatomic, readonly, nullable) MEGAHandleList *sessionsClientId;

@property (nonatomic, readonly, getter=hasLocalAudio) BOOL localAudio;
@property (nonatomic, readonly, getter=hasLocalVideo) BOOL localVideo;
Expand All @@ -132,19 +132,19 @@ typedef NS_ENUM (NSInteger, MEGAChatCallNotificationType) {
@property (nonatomic, readonly, getter=isOwnClientCaller) BOOL ownClientCaller;
@property (nonatomic, readonly, getter=isSpeakPermissionFlagEnabled) BOOL speakPermissionFlagEnabled;

@property (nonatomic, readonly) MEGAHandleList *moderators;
@property (nonatomic, readonly, nullable) MEGAHandleList *moderators;

@property (nonatomic, readonly) MEGAChatWaitingRoomStatus waitingRoomJoiningStatus;
@property (nonatomic, readonly) MEGAChatWaitingRoom *waitingRoom;
@property (nonatomic, readonly) MEGAHandleList *waitingRoomHandleList;
@property (nonatomic, readonly, nullable) MEGAChatWaitingRoom *waitingRoom;
@property (nonatomic, readonly, nullable) MEGAHandleList *waitingRoomHandleList;

@property (nonatomic, readonly) MEGAHandleList *speakersList;
@property (nonatomic, readonly) MEGAHandleList *speakRequestsList;
@property (nonatomic, readonly) MEGAHandleList *raiseHandsList;
@property (nonatomic, readonly, nullable) MEGAHandleList *speakersList;
@property (nonatomic, readonly, nullable) MEGAHandleList *speakRequestsList;
@property (nonatomic, readonly, nullable) MEGAHandleList *raiseHandsList;

- (BOOL)hasChangedForType:(MEGAChatCallChangeType)changeType;

- (MEGAHandleList *)sessionsClientIdByUserHandle:(uint64_t)userHandle;
- (nullable MEGAHandleList *)sessionsClientIdByUserHandle:(uint64_t)userHandle;

- (BOOL)hasUserSpeakPermission:(uint64_t)userHandle;
- (BOOL)hasUserPendingSpeakRequest:(uint64_t)userHandle;
Expand Down

0 comments on commit 6ddf3a3

Please sign in to comment.