From 74031892c5ee269b346cf3b11cc8597ed29ff41c Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Fri, 31 Jul 2020 11:08:29 +0200 Subject: [PATCH] Fix a line no longer used Signed-off-by: Thomas Citharel --- lib/federation/activity_pub/transmogrifier.ex | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/federation/activity_pub/transmogrifier.ex b/lib/federation/activity_pub/transmogrifier.ex index f197514af..05ad94043 100644 --- a/lib/federation/activity_pub/transmogrifier.ex +++ b/lib/federation/activity_pub/transmogrifier.ex @@ -248,8 +248,6 @@ defmodule Mobilizon.Federation.ActivityPub.Transmogrifier do Logger.info("Handle incoming to create a resource") Logger.debug(inspect(data)) - group_url = if is_list(to) and not is_nil(to), do: hd(to), else: to - with {:existing_resource, nil} <- {:existing_resource, Resources.get_resource_by_url(object_url)}, object_data when is_map(object_data) <-