Browse Source

Update RCTAgora.m

yoonzm 6 years ago
parent
commit
3eeed541f1
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      ios/RCTAgora/RCTAgora.m

+ 1
- 0
ios/RCTAgora/RCTAgora.m View File

329
     NSMutableDictionary *params = @{}.mutableCopy;
329
     NSMutableDictionary *params = @{}.mutableCopy;
330
     params[@"type"] = @"onUserOffline";
330
     params[@"type"] = @"onUserOffline";
331
     params[@"uid"] = [NSNumber numberWithInteger:uid];
331
     params[@"uid"] = [NSNumber numberWithInteger:uid];
332
+    params[@"reason"] = [NSNumber numberWithInteger:reason];
332
 
333
 
333
     [self sendEvent:params];
334
     [self sendEvent:params];
334
 }
335
 }