Refresh after invite accept only if remote group

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-04-26 10:13:29 +02:00
parent 7f0256d845
commit 8185fcd0bd
2 changed files with 10 additions and 6 deletions

View File

@@ -109,8 +109,6 @@ defmodule Mobilizon.GraphQL.Resolvers.Member do
member,
true
) do
# Launch an async task to refresh the group profile, fetch resources, discussions, members
Refresher.fetch_group(member.parent.url, actor)
{:ok, member}
else
{:is_same_actor, false} ->