@@ -20,6 +20,7 @@ import {
|
|||||||
import {
|
import {
|
||||||
ClientEvent,
|
ClientEvent,
|
||||||
EventTimelineSetHandlerMap,
|
EventTimelineSetHandlerMap,
|
||||||
|
EventType,
|
||||||
RoomEvent,
|
RoomEvent,
|
||||||
RoomStateEvent,
|
RoomStateEvent,
|
||||||
SyncState,
|
SyncState,
|
||||||
@@ -1000,8 +1001,7 @@ export class CallViewModel extends ViewModel {
|
|||||||
RoomEvent.Timeline,
|
RoomEvent.Timeline,
|
||||||
).pipe(
|
).pipe(
|
||||||
map(([event]) => {
|
map(([event]) => {
|
||||||
// TODO use correct decline event type enum.
|
if (event.getType() === EventType.RTCDecline) return event;
|
||||||
if (event.getType() === "m.rtc.decline") return event;
|
|
||||||
else return null;
|
else return null;
|
||||||
}),
|
}),
|
||||||
startWith(null),
|
startWith(null),
|
||||||
|
|||||||
@@ -144,7 +144,6 @@ export function withTestScheduler(
|
|||||||
scope.end();
|
scope.end();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
interface EmitterMock<T> {
|
interface EmitterMock<T> {
|
||||||
on: (...args: unknown[]) => T;
|
on: (...args: unknown[]) => T;
|
||||||
off: (...args: unknown[]) => T;
|
off: (...args: unknown[]) => T;
|
||||||
|
|||||||
@@ -10280,7 +10280,7 @@ __metadata:
|
|||||||
|
|
||||||
"matrix-js-sdk@github:matrix-org/matrix-js-sdk#head=develop":
|
"matrix-js-sdk@github:matrix-org/matrix-js-sdk#head=develop":
|
||||||
version: 37.13.0
|
version: 37.13.0
|
||||||
resolution: "matrix-js-sdk@https://github.com/matrix-org/matrix-js-sdk.git#commit=c4c7f945141e142e6f846b243c33c4af97a9a44b"
|
resolution: "matrix-js-sdk@https://github.com/matrix-org/matrix-js-sdk.git#commit=2f1d654f14be8dd03896e9e76f12017b6f9eec1c"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/runtime": "npm:^7.12.5"
|
"@babel/runtime": "npm:^7.12.5"
|
||||||
"@matrix-org/matrix-sdk-crypto-wasm": "npm:^15.1.0"
|
"@matrix-org/matrix-sdk-crypto-wasm": "npm:^15.1.0"
|
||||||
@@ -10296,7 +10296,7 @@ __metadata:
|
|||||||
sdp-transform: "npm:^2.14.1"
|
sdp-transform: "npm:^2.14.1"
|
||||||
unhomoglyph: "npm:^1.0.6"
|
unhomoglyph: "npm:^1.0.6"
|
||||||
uuid: "npm:11"
|
uuid: "npm:11"
|
||||||
checksum: 10c0/caa4b8a6d924ac36a21773dc2c8be6cb6b658a9feaabccdb24426719c563ac2cfe4778abb86f0889854ae36fc7ba02a6ed39acdbc0b73fdc31ce9a9789e7f36a
|
checksum: 10c0/ecd019c677c272c5598617dcde407dbe4b1b11460863b2a577e33f3fd8732c9d9073ec0221b471ec1eb24e2839eec20728db7f92c9348be83126547286e50805
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user