Add notifications when a reblogged status has been updated (#17404)

* Add notifications when a reblogged status has been updated

* Change wording to say "edit" instead of "update" and add missing controls

* Replace previous update notifications with the most up-to-date one
This commit is contained in:
Eugen Rochko
2022-02-11 22:20:19 +01:00
committed by GitHub
parent d0fcf07436
commit 8f03b7a2fb
14 changed files with 103 additions and 8 deletions

View File

@@ -11,6 +11,6 @@ class REST::NotificationSerializer < ActiveModel::Serializer
end
def status_type?
[:favourite, :reblog, :status, :mention, :poll].include?(object.type)
[:favourite, :reblog, :status, :mention, :poll, :update].include?(object.type)
end
end