From: Karen Konou <konoukaren@gmail.com>
Date: Fri, 8 Feb 2019 12:21:34 +0000 (+0100)
Subject: help i am not good with git
X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=7e47a810a27f8e4f67d3e821d2a51e14c444e9db;p=akkoma

help i am not good with git
---

7e47a810a27f8e4f67d3e821d2a51e14c444e9db
diff --cc lib/pleroma/web/thread_mute.ex
index a0d564e82,a0d564e82..3a950f474
--- a/lib/pleroma/web/thread_mute.ex
+++ b/lib/pleroma/web/thread_mute.ex
@@@ -21,7 -21,7 +21,8 @@@ defmodule Pleroma.Web.ThreadMute d
    def remove_mute(user, id) do
      user_id = Pleroma.FlakeId.from_string(user.id)
      %{data: %{"context" => context}} = Activity.get_by_id(id)
++
      Ecto.Query.from(m in "thread_mutes", where: m.user_id == ^user_id and m.context == ^context)
--    |> Repo.delete_all
++    |> Repo.delete_all()
    end
  end