mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-22 22:49:25 +00:00
Merge branch 'fix/1091-notifications-query' into 'develop'
Notifications query fix Closes #1091 See merge request pleroma/pleroma!1427
This commit is contained in:
commit
30d7e22784
|
@ -65,7 +65,7 @@ defmodule Pleroma.Notification do
|
|||
|> join(:left, [n, a], tm in Pleroma.ThreadMute,
|
||||
on: tm.user_id == ^user.id and tm.context == fragment("?->>'context'", a.data)
|
||||
)
|
||||
|> where([n, a, o, tm], is_nil(tm.id))
|
||||
|> where([n, a, o, tm], is_nil(tm.user_id))
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue