review: Use is_widget directly instead of using the packageType

This commit is contained in:
Valere
2026-01-12 17:28:18 +01:00
parent 534f934378
commit f3df8bc709
5 changed files with 20 additions and 65 deletions

View File

@@ -165,9 +165,6 @@ export interface ResolvedConfigOptions extends ConfigOptions {
};
ssla: string;
app_prompt: boolean;
// For privacy reasons when lobby is skipped we do not unmute by default on full builds
// but for development builds we want to unmute by default to speed up testing.
trust_localhost_for_mute_state: boolean;
}
export const DEFAULT_CONFIG: ResolvedConfigOptions = {
@@ -182,5 +179,4 @@ export const DEFAULT_CONFIG: ResolvedConfigOptions = {
},
ssla: "https://static.element.io/legal/element-software-and-services-license-agreement-uk-1.pdf",
app_prompt: true,
trust_localhost_for_mute_state: false,
};