Browse Source

Update AgoraModule.java

yoonzm 6 years ago
parent
commit
68bb10b13d
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      android/src/main/java/com/syan/agora/AgoraModule.java

+ 1
- 0
android/src/main/java/com/syan/agora/AgoraModule.java View File

214
                     WritableMap map = Arguments.createMap();
214
                     WritableMap map = Arguments.createMap();
215
                     map.putString("type", "onUserOffline");
215
                     map.putString("type", "onUserOffline");
216
                     map.putInt("uid", uid);
216
                     map.putInt("uid", uid);
217
+                    map.putInt("reason", reason);
217
                     commonEvent(map);
218
                     commonEvent(map);
218
                 }
219
                 }
219
             });
220
             });