forked from potsda.mn/mobilizon
Handle actor being something else than Group or Person when deleting it
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
fde560208f
commit
2ec7457783
|
@ -360,6 +360,9 @@ defmodule Mobilizon.Actors do
|
|||
Multi.run(multi, :reset_default_actor_id, fn _, _ ->
|
||||
reset_default_actor_id(actor)
|
||||
end)
|
||||
|
||||
_ ->
|
||||
multi
|
||||
end
|
||||
|
||||
multi =
|
||||
|
|
Loading…
Reference in a new issue