Skip to content

Commit 00d46f1

Browse files
authored
Remove unused Security customisations module (#28350)
Signed-off-by: Michael Telatynski <[email protected]>
1 parent 8e30471 commit 00d46f1

File tree

2 files changed

+4
-77
lines changed

2 files changed

+4
-77
lines changed

docs/customisations.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Customisations will be removed from the codebase in a future release.
1111
Element Web and the React SDK support "customisation points" that can be used to
1212
easily add custom logic specific to a particular deployment of Element Web.
1313

14-
An example of this is the [security customisations
15-
module](https://github.com/element-hq/element-web/blob/develop/src/customisations/Security.ts).
14+
An example of this is the [media customisations
15+
module](https://github.com/element-hq/element-web/blob/develop/src/customisations/Media.ts).
1616
This module in the React SDK only defines some empty functions and their types:
1717
it does not do anything by default.
1818

@@ -21,14 +21,14 @@ Web so that you can add your own code. Even though the default module is part of
2121
the React SDK, you can still override it from the Element Web layer:
2222

2323
1. Copy the default customisation module to
24-
`element-web/src/customisations/YourNameSecurity.ts`
24+
`element-web/src/customisations/YourNameMedia.ts`
2525
2. Edit customisations points and make sure export the ones you actually want to
2626
activate
2727
3. Create/add an entry to `customisations.json` next to the webpack config:
2828

2929
```json
3030
{
31-
"src/customisations/Security.ts": "src/customisations/YourNameSecurity.ts"
31+
"src/customisations/Media.ts": "src/customisations/YourNameMedia.ts"
3232
}
3333
```
3434

src/customisations/Security.ts

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)