Merge branch 'fix/poll-performance' into 'develop'
utils: access inReplyTo as an explicit string when fetching poll results` See merge request pleroma/pleroma!1243
This commit is contained in:
commit
d977d73b91
|
@ -797,7 +797,7 @@ def get_existing_votes(actor, %{data: %{"id" => id}}) do
|
|||
where: fragment("(?)->>'actor' = ?", activity.data, ^actor),
|
||||
where:
|
||||
fragment(
|
||||
"(?)->'inReplyTo' = ?",
|
||||
"(?)->>'inReplyTo' = ?",
|
||||
object.data,
|
||||
^to_string(id)
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue