Skip to content

Commit

Permalink
fix: kickGroupMember / inviteUserToGroup
Browse files Browse the repository at this point in the history
  • Loading branch information
Brett committed Feb 2, 2024
1 parent e89724c commit 2653000
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Example/OpenIMSDKiOS/OPENIMSDKViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -731,8 +731,7 @@ - (void)kickGroupMember {
[OIMManager.manager kickGroupMember:GROUP_ID
reason:@"nothing"
usersID:@[OTHER_USER_ID]
onSuccess:^(NSArray<OIMSimpleResultInfo *> * _Nullable results) {

onSuccess:^(NSString * _Nullable data) {
callback(nil, nil);
} onFailure:^(NSInteger code, NSString * _Nullable msg) {
callback(@(code), msg);
Expand Down Expand Up @@ -762,7 +761,7 @@ - (void)inviteUserToGroup {
[OIMManager.manager inviteUserToGroup:GROUP_ID
reason:@"reason"
usersID:@[OTHER_USER_ID]
onSuccess:^(NSArray<OIMSimpleResultInfo *> * _Nullable results) {
onSuccess:^(NSString * _Nullable data) {

callback(nil, nil);
} onFailure:^(NSInteger code, NSString * _Nullable msg) {
Expand Down

0 comments on commit 2653000

Please sign in to comment.