jjj333-p / spam-police

A matrix bot to monitor and respond to investment scam spamming across the matrix platform, for example in rooms with a permanently offline admin.
GNU Affero General Public License v3.0
21 stars 8 forks source link

handle when a room has no main alias #8

Closed jjj333-p closed 1 year ago

jjj333-p commented 1 year ago
The bot writes "in null" if the room has no primary alias published (but may have aliases otherwise) Could we perhaps print (all of) its aliases in such cases?
jjj333-p commented 1 year ago

my current solution is to just write the name of the room, as you should still be able to jump to the room using the https://matrix.to/#/ link @bkil

----> https://github.com/jjj333-p/spam-police/commit/6ad39b1d1476eb8f5c826754d8a680270ee6af58