``mix pleroma.relay unfollow <relay_url>``
Example: ``mix pleroma.relay follow https://example.org/relay``
-
+
## Unfollow a remote relay
-
+
``mix pleroma.relay unfollow <relay_url>``
Example: ``mix pleroma.relay unfollow https://example.org/relay``
|> Map.put("is_moderator", value)
info_cng = User.Info.admin_api_update(user.info, %{is_moderator: value})
- user_cng =
- Ecto.Changeset.change(user)
- |> put_embed(:info, info_cng)
+
+ user_cng =
+ Ecto.Changeset.change(user)
+ |> put_embed(:info, info_cng)
{:ok, user} = User.update_and_set_cache(user_cng)
|> Map.put("is_admin", value)
info_cng = User.Info.admin_api_update(user.info, %{is_admin: value})
- user_cng =
- Ecto.Changeset.change(user)
- |> put_embed(:info, info_cng)
+
+ user_cng =
+ Ecto.Changeset.change(user)
+ |> put_embed(:info, info_cng)
{:ok, user} = User.update_and_set_cache(user_cng)
|> Map.put("locked", value)
info_cng = User.Info.user_upgrade(user.info, %{locked: value})
- user_cng =
- Ecto.Changeset.change(user)
- |> put_embed(:info, info_cng)
+
+ user_cng =
+ Ecto.Changeset.change(user)
+ |> put_embed(:info, info_cng)
{:ok, user} = User.update_and_set_cache(user_cng)