mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-24 07:16:18 +00:00
made a silly oopsie
This commit is contained in:
parent
77448de492
commit
6b5032e10e
|
@ -15,7 +15,7 @@ defmodule Pleroma.Web.ThreadMute do
|
||||||
def add_mute(user, id) do
|
def add_mute(user, id) do
|
||||||
user_id = user.id
|
user_id = user.id
|
||||||
%{data: %{"context" => context}} = Activity.get_by_id(id)
|
%{data: %{"context" => context}} = Activity.get_by_id(id)
|
||||||
Pleroma.Repo.insert(%Pleroma.Web.ThreadMute{user: user_id, context: context})
|
Pleroma.Repo.insert(%Pleroma.Web.ThreadMute{}, %{user: user_id, context: context})
|
||||||
end
|
end
|
||||||
|
|
||||||
def remove_mute(user, id) do
|
def remove_mute(user, id) do
|
||||||
|
|
Loading…
Reference in a new issue