Commit d1b38c0a authored by Cool-fire's avatar Cool-fire

remove unsafe null check

parent e18537a7
......@@ -54,12 +54,14 @@ class VideoConferenceActivity : JitsiMeetActivity(), JitsiVideoConferenceView,
logJitsiMeetViewState("Joined video conferencing", map)
override fun onConferenceTerminated(map: MutableMap<String, Any>?) {
if(map!!.containsKey("error")) {
logJitsiMeetViewState("Terminated video conferencing with error", map)
}
else{
logJitsiMeetViewState("Terminated video conferencing", map)
finishJitsiVideoConference()
if(!map.isNullOrEmpty()){
if(map.containsKey("error")) {
logJitsiMeetViewState("Terminated video conferencing with error", map)
}
else{
logJitsiMeetViewState("Terminated video conferencing", map)
finishJitsiVideoConference()
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment