forked from tildeverse/tilde.news
don't message moderators about their own moderations/hat usage
Fix #429
This commit is contained in:
parent
efe3505811
commit
6a637b49fe
|
@ -66,6 +66,8 @@ class Moderation < ApplicationRecord
|
|||
return
|
||||
end
|
||||
|
||||
return if m.recipient_user_id == m.author_user_id
|
||||
|
||||
m.body << "\n" <<
|
||||
"*This is an automated message.*"
|
||||
|
||||
|
|
Loading…
Reference in New Issue