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

This commit is contained in:
Anthony Wang 2024-04-13 17:11:01 -04:00
parent e047a9ee72
commit c6753e9fc4
Signed by: a
SSH key fingerprint: SHA256:B5ADfMCqd2M7d/jtXDoihAV/yfXOAbWWri9+GdCN4hQ

View file

@ -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:
```
sudo -iu postgres
PAGER=less psql -d synapse
sudo -u postgres 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)).