projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bad499b
)
Delete notifications on activity deletion.
author
Lain Iwakura
<lain@soykaf.club>
Fri, 8 Dec 2017 17:17:30 +0000
(18:17 +0100)
committer
Lain Iwakura
<lain@soykaf.club>
Fri, 8 Dec 2017 17:17:30 +0000
(18:17 +0100)
lib/pleroma/activity.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/activity.ex
b/lib/pleroma/activity.ex
index a35ccc9b415cff3ab73cb21c8f852b55a9cccdc1..afd09982fcd45211249c0c4cac75f80fefaf65db 100644
(file)
--- a/
lib/pleroma/activity.ex
+++ b/
lib/pleroma/activity.ex
@@
-7,7
+7,7
@@
defmodule Pleroma.Activity do
field :data, :map
field :local, :boolean, default: true
field :actor, :string
- has_many :notifications, Notification
+ has_many :notifications, Notification
, on_delete: :delete_all
timestamps()
end