Exclude reporter from receiving notifications from their own reports.
authorMark Felder <feld@feld.me>
Wed, 3 Feb 2021 18:32:44 +0000 (12:32 -0600)
committerMark Felder <feld@feld.me>
Wed, 3 Feb 2021 18:32:44 +0000 (12:32 -0600)
commit76f732766ba36c3a94cf6b8b39fb745c1cf3f49a
tree76afc0298d8e6ae303479fc711bced5ae9c51cce
parenta7864a94295eedaee1c2ad0829c9b668c7acd705
Exclude reporter from receiving notifications from their own reports.
Currently only works if the reporting actor is an admin, but if we include
moderators with those who receive notification reports it will work for them.
lib/pleroma/notification.ex
lib/pleroma/web/activity_pub/activity_pub.ex