merge: upstream Element Call v0.28.0 (cinny #201) #61

Merged
jared merged 197 commits from lotus-upstream-v0.28.0 into lotus 2026-10-24 01:14:32 -04:00
Showing only changes of commit 0211d5c367 - Show all commits
-12
View File
@@ -18,7 +18,6 @@ import {
share,
take,
takeUntil,
shareReplay,
} from "rxjs";
import { logger } from "matrix-js-sdk/lib/logger";
@@ -68,17 +67,6 @@ export class ObservableScope {
public readonly share: MonoTypeOperator = (input$) =>
input$.pipe(this.bindImpl, this.shareImpl);
private readonly shareReplayImpl: MonoTypeOperator = shareReplay({
bufferSize: 1,
refCount: false,
});
/**
* Shares (multicasts) the Observable as a hot Observable, replaying the most
* recently emitted value upon subscription.
*/
public readonly shareReplay: MonoTypeOperator = (input$) =>
input$.pipe(this.bindImpl, this.shareReplayImpl);
/**
* Converts an Observable to a Behavior. If no initial value is specified, the
* Observable must synchronously emit an initial value.