Skip to content
Snippets Groups Projects
Commit 939f6c20 authored by Emma Falkiewitz's avatar Emma Falkiewitz Committed by Adrien Béraud
Browse files

conference: fix bug in maximizing contact

GitLab: #1429
Change-Id: Iae62b9ee55f76fe432c1e13af159d2d63bcc4001
parent 14ee1be2
No related branches found
No related tags found
No related merge requests found
......@@ -448,7 +448,7 @@ class CallPresenter @Inject constructor(
val conference = mConference ?: return
val contact = info?.contact
val toMaximize = if (conference.maximizedParticipant == contact?.contact) null else info
conference.maximizedParticipant = contact?.contact
conference.maximizedParticipant = toMaximize?.contact?.contact
if (toMaximize != null) {
mCallService.setConfMaximizedParticipant(conference.accountId, conference.id, toMaximize.contact.contact.uri)
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment