projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'upstream/develop' into block-behavior
[akkoma]
/
lib
/
pleroma
/
activity
/
search.ex
diff --git
a/lib/pleroma/activity/search.ex
b/lib/pleroma/activity/search.ex
index ea9783225129852f05f849049843ac7d0cea5f56..babf9520ba680398f5c434daebe752dbc78bc7a3 100644
(file)
--- a/
lib/pleroma/activity/search.ex
+++ b/
lib/pleroma/activity/search.ex
@@
-20,7
+20,7
@@
defmodule Pleroma.Activity.Search do
author = Keyword.get(options, :author)
search_function =
author = Keyword.get(options, :author)
search_function =
- if
Application.get_env(:postgres, :version
) >= 11 do
+ if
:persistent_term.get({Pleroma.Repo, :postgres_version}
) >= 11 do
:websearch
else
:plain
:websearch
else
:plain