summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2022-11-13 12:25:52 -0500
committerMark Felder <feld@feld.me>2022-11-13 12:25:52 -0500
commit47b9847edd74c394e2bdfcb95a42f858329c9ef1 (patch)
treef6a4ce7fbeaa22f39dedfb1ec2fcdb1dff8fed66
parent3d1828f43bd5ca59424616d2c1d0462bf75bcf20 (diff)
Deletes do not generate notifications of any kind, so skip trying
-rw-r--r--CHANGELOG.md1
-rw-r--r--lib/pleroma/web/activity_pub/side_effects.ex1
2 files changed, 1 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 889a3ebfe..141cc2e40 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -55,6 +55,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Fixed slow timelines when there are a lot of deactivated users
- Fixed account deletion API
- Fixed lowercase HTTP HEAD method in the Media Proxy Preview code
+- Removed useless notification call on Delete activities
### Removed
- Quack, the logging backend that pushes to Slack channels
diff --git a/lib/pleroma/web/activity_pub/side_effects.ex b/lib/pleroma/web/activity_pub/side_effects.ex
index 5eefd2824..b2e15e1a0 100644
--- a/lib/pleroma/web/activity_pub/side_effects.ex
+++ b/lib/pleroma/web/activity_pub/side_effects.ex
@@ -324,7 +324,6 @@ defmodule Pleroma.Web.ActivityPub.SideEffects do
end
if result == :ok do
- Notification.create_notifications(object)
{:ok, object, meta}
else
{:error, result}