Skip to content

Commit

Permalink
API break, replace leave() by join(null).
Browse files Browse the repository at this point in the history
I am not sure, I will test it. Also asked in jitsi/jitsi-meet#12456 (comment)
  • Loading branch information
bmarty committed Oct 26, 2022
1 parent e1c9170 commit 49221c6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class VectorJitsiActivity : VectorBaseActivity<ActivityJitsiBinding>(), JitsiMee

override fun onDestroy() {
val currentConf = JitsiMeet.getCurrentConference()
jitsiMeetView?.leave()
jitsiMeetView?.join(null)
jitsiMeetView?.dispose()
// Fake emitting CONFERENCE_TERMINATED event when currentConf is not null (probably when closing the PiP screen).
if (currentConf != null) {
Expand All @@ -128,7 +128,7 @@ class VectorJitsiActivity : VectorBaseActivity<ActivityJitsiBinding>(), JitsiMee
}

private fun handleLeaveConference() {
jitsiMeetView?.leave()
jitsiMeetView?.join(null)
}

private fun handleConfirmSwitching(action: JitsiCallViewEvents.ConfirmSwitchingConference) {
Expand Down

0 comments on commit 49221c6

Please sign in to comment.