Dealing with spam¶
Matrix occasionally has spam waves. Sometimes, spammers target specific communities like the Ubuntu community. While the Ubuntu Matrix Operators work hard to block the spam before you even see it, they cannot (yet) catch everything. However, there are a few things you can do yourself to protect yourself.
Don’t engage¶
The most important rule is to never engage directly with the spammers! Spammers are trying to get your attention. They want you to get upset and want you to respond to them. Ignoring them is the best response.
Disable image previews¶
Many Matrix clients like Element allow you to disable image previews. Since some spammers send disturbing images, it’s best to turn image previews off. This way, you won’t see these images before our moderator bot removes them.
To turn image previews off in Element Desktop, select your profile picture in the top left corner of the app, click All Settings -> Preferences, and turn the following settings off:
Autoplay GIFs
Autoplay videos
Show previews/thumbnails for images
Block invites from banned users¶
Sometimes, spam comes in the form of rogue invites to problematic rooms. By default, banned users can still send you invites, but Element has an experimental feature that allows you to block invites of everyone we ban.
In Element Desktop, select your profile picture in the top left corner of the app, click All Settings -> Labs, and turn on New ways to ignore people.
Then, go to Ignored users to the section Subscribed lists and add
!fTjMjIzNKEsFlUIiru:neko.dev
. This is a community maintained list of spammers.
Ignore invites and users¶
To avoid spam from rogue invites, you can also ignore the user. By doing this, that user will not be able to send you another invite. The method to ignore the user is different depending on which app you’re using.
On Element Desktop and Element Web, click on the invite (but don’t accept it), and click Reject & Ignore user.
If you’re using Element Android, or another client, you need to type
/ignore @user:example.com
in the message box in a room and press Send. Make sure to change the username in this command to the user inviting you.
You can also ignore users that you are already in a room with you by clicking on the profile picture of the user and clicking Ignore.
Contact the Ubuntu Matrix Operators¶
If you’re targeted by spam, please let the Ubuntu Matrix Operators know in the Ubuntu Matrix Ops room. We’re constantly trying to improve our tooling to block the spam before you even see it. We’re also working with other communities on Matrix to defend against spam together. However, if something slips through the cracks, please let us know.
If you receive spam invites, it can help the Operators if you let us know (in the Matrix Ops room) what the full username and the room ID is of the spammers.
Certain Matrix clients such as
Contact your homeserver admins¶
If you’re using a matrix.org
account, you can report spam invites by sending an email to abuse@matrix.org
.