Fix typo in setMediaStatus.

The warning would never trigger.
This commit is contained in:
Juliusz Chroboczek
2025-03-23 22:14:15 +01:00
parent 48b9e82d3d
commit 3f5cdc7653
+1 -1
View File
@@ -2337,7 +2337,7 @@ function setMediaStatus(c) {
media.classList.add('media-failed'); media.classList.add('media-failed');
} }
if(!c.up && status === 'failed') { if(!c.up && state === 'failed') {
let from = c.username ? let from = c.username ?
`from user ${c.username}` : `from user ${c.username}` :
'from anonymous user'; 'from anonymous user';