From 92b222b091cf6248969b0206e7c052b725a1286b Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 5 Sep 2023 16:03:45 +0200 Subject: [PATCH] fix(back): allow any other type of actor to be suspended Signed-off-by: Thomas Citharel --- lib/service/actor_suspension.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/service/actor_suspension.ex b/lib/service/actor_suspension.ex index b5531a9d..00062563 100644 --- a/lib/service/actor_suspension.ex +++ b/lib/service/actor_suspension.ex @@ -103,7 +103,7 @@ defmodule Mobilizon.Service.ActorSuspension do end) end - defp maybe_reset_actor_id(%Multi{} = multi, %Actor{type: :Group} = _actor) do + defp maybe_reset_actor_id(%Multi{} = multi, %Actor{type: _} = _actor) do multi end