From dde5464559bb1a4ddc246f0c0d7b2e116ee98b06 Mon Sep 17 00:00:00 2001 From: cynic Date: Fri, 12 Jul 2024 03:30:40 -0500 Subject: [PATCH] wording --- README.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index fd10c86..b0b6717 100644 --- a/README.md +++ b/README.md @@ -16,32 +16,32 @@ cd redact-matrix chmod +x redact_matrix.py # optional ``` -#### Getting your access token - -On [Cinny](https://app.cinny.in), for example, go to Firefox's Inspect tool, to the Storage tab, and copy your `cinny_access_token`. - -![image](./image.jpg) - -Other clients may have a similar key with this value. +#### Getting our access token On Element it is found at: ⚙️ *Quick settings > All Settings > Help & About > Advanced > Access Token* ![image](./element.png) +On [Cinny](https://app.cinny.in), for example, go to Firefox's Inspect tool, then to the Storage tab, and copy your `cinny_access_token`. + +![image](./image.jpg) + +Other clients may have a similar key with this value. + The token is different for each session and remains valid as long as you don't log out. -#### Getting the room id +#### Getting room ID's -On Cinny we can see this value in the source of sent messages. - -The room id looks like this: +Room ID's look like this: `!cdPNSVToruMtXqGznY:domain.tld` -On Element it can be found at ℹ️ *Room info > Settings > Advanced > Internal room ID* +On Element the room ID of any room can be found at ℹ️ *Room info > Settings > Advanced > Internal room ID* ![image](./element_room_id.png) +On Cinny we can see this value in the source of sent messages. + #### Running the script @@ -49,9 +49,9 @@ On Element it can be found at ℹ️ *Room info > Settings > Advanced > Internal python redact_matrix.py -s matrix.thisisjoes.site -t syt_uaY3lMW_nAyiumHhGDhXJBFLKdoY_3RRBuz \!xTDdCBHByVyZtZEmNI:hackliberty.org '!cdPNSVToruMtXqGznY:domain.tld' ``` -As we can see here, it is possible to apply the command to more than one room. +As we can see above, it is possible to apply the command to more than one room. -Additionally, by adding the `-n` flag after `redact_matrix.py` the Nuke mode is turned on, which means that you will not be deleting only your own messages but also those of other users in the room, as long as you have permissions (e.g. admin). In other words, it attempts to nuke the room, so, please, be very careful with this flag. +Additionally, by adding the `-n` flag after `redact_matrix.py` the Nuke mode is turned on, which means that you will not be deleting only your own messages but also those of other users in the room, as long as you have permissions (e.g. admin). In other words, it attempts to "nuke" the room, so, please, be very careful with this flag. When in doubt, see the help by passing `--help` or `-h`: ```