matrix-org / matrix-viewer

View the history of public and world readable Matrix rooms
https://archive.matrix.org
Apache License 2.0
74 stars 11 forks source link

Prevent join event spam with stable `reason` #268

Closed MadLittleMods closed 1 year ago

MadLittleMods commented 1 year ago

Prevent join event spam with stable reason.

In the case of someone visiting a room via an alias, we can't get access to the room_id before we join the room. I've opted to just point to the Matrix Public Archive instance in general. This way the join reason is always stable regardless how someone is visiting the room.

Fix https://github.com/matrix-org/matrix-public-archive/issues/267

Join reason was originally added in https://github.com/matrix-org/matrix-public-archive/pull/262