Almost running
- NEVER use undefined as the default for behaviors (FOOTGUN)
This commit is contained in:
@@ -15,7 +15,7 @@ import {
|
||||
import { fromEvent } from "rxjs";
|
||||
|
||||
import {
|
||||
type Epoch,
|
||||
Epoch,
|
||||
mapEpoch,
|
||||
trackEpoch,
|
||||
type ObservableScope,
|
||||
@@ -76,5 +76,6 @@ export const createMemberships$ = (
|
||||
MatrixRTCSessionEvent.MembershipsChanged,
|
||||
(_, memberships: CallMembership[]) => memberships,
|
||||
).pipe(trackEpoch()),
|
||||
new Epoch([]),
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user