logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 47b9847edd74c394e2bdfcb95a42f858329c9ef1
parent 3d1828f43bd5ca59424616d2c1d0462bf75bcf20
Author: Mark Felder <feld@feld.me>
Date:   Sun, 13 Nov 2022 12:25:52 -0500

Deletes do not generate notifications of any kind, so skip trying

Diffstat:

MCHANGELOG.md1+
Mlib/pleroma/web/activity_pub/side_effects.ex1-
2 files changed, 1 insertion(+), 1 deletion(-)

diff --git 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 @@ -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}