Don't open shell as postgres user then open psql console but do it in one command
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
e047a9ee72
commit
c6753e9fc4
1 changed files with 1 additions and 2 deletions
|
@ -17,8 +17,7 @@ If you ever get tired of ghost pings or trolls quickly deleting their Matrix mes
|
||||||
|
|
||||||
First, open up a PostgreSQL console for your Synapse database. On Arch Linux, you can do that like this:
|
First, open up a PostgreSQL console for your Synapse database. On Arch Linux, you can do that like this:
|
||||||
```
|
```
|
||||||
sudo -iu postgres
|
sudo -u postgres PAGER=less psql -d synapse
|
||||||
PAGER=less psql -d synapse
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Now go into your Matrix client and find the internal room ID for the room where the message was deleted. In Element, you can find this in the Advanced tab of the room settings. The room ID should look something like `!GtIfdsfQtQIgbQSxwJ:archlinux.org` (in this case, the infamous [Arch Linux room](https://matrix.to/#/#archlinux:archlinux.org)).
|
Now go into your Matrix client and find the internal room ID for the room where the message was deleted. In Element, you can find this in the Advanced tab of the room settings. The room ID should look something like `!GtIfdsfQtQIgbQSxwJ:archlinux.org` (in this case, the infamous [Arch Linux room](https://matrix.to/#/#archlinux:archlinux.org)).
|
||||||
|
|
Loading…
Reference in a new issue