projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77448de
)
made a silly oopsie
author
Karen Konou
<konoukaren@gmail.com>
Thu, 7 Feb 2019 21:38:54 +0000
(22:38 +0100)
committer
Karen Konou
<konoukaren@gmail.com>
Thu, 7 Feb 2019 21:38:54 +0000
(22:38 +0100)
lib/pleroma/web/thread_mute.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/thread_mute.ex
b/lib/pleroma/web/thread_mute.ex
index 50a6219d1e5bf5645b0868524e6e099d2d8baa22..f2283cf86d8f6fa79ca35d6d83df3c5ae2c2ce5a 100644
(file)
--- a/
lib/pleroma/web/thread_mute.ex
+++ b/
lib/pleroma/web/thread_mute.ex
@@
-15,7
+15,7
@@
defmodule Pleroma.Web.ThreadMute do
def add_mute(user, id) do
user_id = user.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
def remove_mute(user, id) do