You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-23 17:02:25 +03:00
fixup more bits
This commit is contained in:
@@ -170,9 +170,7 @@ export function mockRTCEvent(
|
|||||||
timestamp,
|
timestamp,
|
||||||
!stickyDuration && "device_id" in membershipData ? `_${sender}_${membershipData.device_id}` : "",
|
!stickyDuration && "device_id" in membershipData ? `_${sender}_${membershipData.device_id}` : "",
|
||||||
),
|
),
|
||||||
unstableStickyContent: {
|
unstableStickyExpiresAt:stickyDuration,
|
||||||
duration_ms: stickyDuration,
|
|
||||||
},
|
|
||||||
} as unknown as MatrixEvent;
|
} as unknown as MatrixEvent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ export class MatrixRTCSessionManager extends TypedEventEmitter<MatrixRTCSessionM
|
|||||||
};
|
};
|
||||||
|
|
||||||
private onEvent = (event: MatrixEvent): void => {
|
private onEvent = (event: MatrixEvent): void => {
|
||||||
if (!event.unstableStickyContent?.duration_ms) {
|
if (!event.unstableStickyExpiresAt) {
|
||||||
return; // Not sticky, not interested.
|
return; // Not sticky, not interested.
|
||||||
}
|
}
|
||||||
if (event.getType() !== EventType.GroupCallMemberPrefix) {
|
if (event.getType() !== EventType.GroupCallMemberPrefix) {
|
||||||
|
|||||||
Reference in New Issue
Block a user