fix: restore build and stabilize E2E cross-signal behavior
Revert the automated member-ordering pass that broke Angular field init (TS2729) and disable that rule until a safe reorder strategy exists. Fix modal/confirm dialog i18n defaults via template fallbacks, search all active endpoints (including offline), register foreign rooms with actor owner IDs, sync profile display names from avatar summaries, and guard dm-chat when a private call converts to a group conversation. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable @typescript-eslint/member-ordering */
|
||||
import {
|
||||
Injectable,
|
||||
signal,
|
||||
@@ -17,10 +18,6 @@ const DEFAULT_SYNC_TIMEOUT_MS = 5000;
|
||||
*/
|
||||
@Injectable({ providedIn: 'root' })
|
||||
export class TimeSyncService {
|
||||
|
||||
/** Reactive read-only offset (milliseconds). */
|
||||
readonly offset = computed(() => this._offset());
|
||||
|
||||
/**
|
||||
* Internal offset signal:
|
||||
* `serverTime = Date.now() + offset`.
|
||||
@@ -30,6 +27,9 @@ export class TimeSyncService {
|
||||
/** Epoch timestamp of the most recent successful sync. */
|
||||
private lastSyncTimestamp = 0;
|
||||
|
||||
/** Reactive read-only offset (milliseconds). */
|
||||
readonly offset = computed(() => this._offset());
|
||||
|
||||
/**
|
||||
* Return a server-adjusted "now" timestamp.
|
||||
*
|
||||
@@ -97,5 +97,4 @@ export class TimeSyncService {
|
||||
// Sync failure is non-fatal; retain the previous offset.
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user