From 977092171ee5e09032d157f18bdf8a7c5d6b922c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Blin?= <sebastien.blin@savoirfairelinux.com> Date: Fri, 3 Feb 2023 15:54:26 -0500 Subject: [PATCH] callparticipantsmodel: fix participant equality Else, changing the moderator state of a participant doesn't refresh the controls Change-Id: Ic00a7836b181bf9aa9c9d793720323bc2247196a --- src/libclient/api/callparticipantsmodel.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libclient/api/callparticipantsmodel.h b/src/libclient/api/callparticipantsmodel.h index c1c7bf9b2..9f6d8c0ed 100644 --- a/src/libclient/api/callparticipantsmodel.h +++ b/src/libclient/api/callparticipantsmodel.h @@ -121,8 +121,9 @@ struct ParticipantInfos && audioModeratorMuted == other.audioModeratorMuted && avatar == other.avatar && bestName == other.bestName && isContact == other.isContact && islocal == other.islocal && videoMuted == other.videoMuted - && handRaised == other.handRaised && voiceActivity == other.voiceActivity - && isRecording == other.isRecording; + && isModerator == other.isModerator && voiceActivity == other.voiceActivity + && handRaised == other.handRaised && isRecording == other.isRecording + && device == other.device; } }; -- GitLab