Add labs flag to automatically rageshake on decryption errors (#7307)
Also sends a to-device message to the sender, prompting them to auto-rageshake too if they have this lab enabled as well. Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
22c2aa37d7
commit
3eb5130cda
7 changed files with 166 additions and 7 deletions
|
@ -44,6 +44,7 @@ import * as Rooms from '../../Rooms';
|
|||
import * as Lifecycle from '../../Lifecycle';
|
||||
// LifecycleStore is not used but does listen to and dispatch actions
|
||||
import '../../stores/LifecycleStore';
|
||||
import '../../stores/AutoRageshakeStore';
|
||||
import PageType from '../../PageTypes';
|
||||
import createRoom, { IOpts } from "../../createRoom";
|
||||
import { _t, _td, getCurrentLanguage } from '../../languageHandler';
|
||||
|
|
|
@ -129,6 +129,11 @@ export default class LabsUserSettingsTab extends React.Component<{}, IState> {
|
|||
name="automaticErrorReporting"
|
||||
level={SettingLevel.DEVICE}
|
||||
/>,
|
||||
<SettingsFlag
|
||||
key="automaticDecryptionErrorReporting"
|
||||
name="automaticDecryptionErrorReporting"
|
||||
level={SettingLevel.DEVICE}
|
||||
/>,
|
||||
);
|
||||
|
||||
if (this.state.showHiddenReadReceipts) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue