mirror of
https://github.com/vector-im/element-call.git
synced 2026-03-07 05:47:03 +00:00
Show that we've proved to TypeScript that the media is user media
This commit is contained in:
@@ -203,7 +203,8 @@ export class TileStoreBuilder {
|
||||
media === this.prevSpotlightSpeaker &&
|
||||
this.spotlight.media.length === 1 &&
|
||||
"speaking$" in this.spotlight.media[0] &&
|
||||
this.prevSpotlightSpeaker !== this.spotlight.media[0]
|
||||
this.prevSpotlightSpeaker !==
|
||||
(this.spotlight.media[0] satisfies UserMediaViewModel)
|
||||
) {
|
||||
const prev = this.prevGridByMedia.get(this.spotlight.media[0]);
|
||||
if (prev !== undefined) {
|
||||
|
||||
Reference in New Issue
Block a user