Return null

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-06-04 07:42:17 +02:00
parent 1c92e31683
commit ae54a8f546
No known key found for this signature in database
GPG key ID: 9760693FDD98A790

View file

@ -305,6 +305,7 @@ export default class CallHandler extends EventEmitter {
for (const call of this.calls.values()) { for (const call of this.calls.values()) {
if (call.callId === callId) return call; if (call.callId === callId) return call;
} }
return null;
} }
getCallForRoom(roomId: string): MatrixCall { getCallForRoom(roomId: string): MatrixCall {