Make SonarCloud happier about our code quality (#10630)
This commit is contained in:
committed by
GitHub
parent
9c277d6b02
commit
568ec77208
@@ -103,7 +103,7 @@ export default class LegacyCallEventGrouper extends EventEmitter {
|
||||
|
||||
public get isVoice(): boolean | undefined {
|
||||
const invite = this.invite;
|
||||
if (!invite) return;
|
||||
if (!invite) return undefined;
|
||||
|
||||
// FIXME: Find a better way to determine this from the event?
|
||||
if (invite.getContent()?.offer?.sdp?.indexOf("m=video") !== -1) return false;
|
||||
|
||||
Reference in New Issue
Block a user