Filter settings exported when rageshaking (#30236)
* Submit filtered settings to rageshakes and sentry. * Add flag to omit some settings from being exported. * Hide user timezone * Hide recent searches and media event ids * Lint * use better wording * lint * Prevent language from being sent * Add tests to check keys are prevented from being uploaded. * don't export invite rules * Update tests
This commit is contained in:
@@ -141,7 +141,7 @@ async function getCryptoContext(client: MatrixClient): Promise<CryptoContext> {
|
||||
function getDeviceContext(client: MatrixClient): DeviceContext {
|
||||
const result: DeviceContext = {
|
||||
device_id: client?.deviceId ?? undefined,
|
||||
mx_local_settings: localStorage.getItem("mx_local_settings"),
|
||||
mx_local_settings: SettingsStore.exportForRageshake(),
|
||||
};
|
||||
|
||||
if (window.Modernizr) {
|
||||
|
||||
Reference in New Issue
Block a user