summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/store/participantsStore.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/store/participantsStore.js b/src/store/participantsStore.js
index 540810092..d563967a2 100644
--- a/src/store/participantsStore.js
+++ b/src/store/participantsStore.js
@@ -370,7 +370,7 @@ const mutations = {
const currentSpeakingState = state.speaking[token][sessionId].speaking
// when speaking has stopped, update the total talking time
- if (currentSpeakingState && !speaking && state.speaking[token][sessionId].lastTimestamp) {
+ if (currentSpeakingState && !speaking) {
state.speaking[token][sessionId].speaking = false
state.speaking[token][sessionId].totalCountedTime += (currentTimestamp - state.speaking[token][sessionId].lastTimestamp)
} else if (!currentSpeakingState && speaking) {