utils: access inReplyTo as an explicit string when fetching poll results`

Cette révision appartient à :
William Pitcock 2019-06-04 08:45:03 +00:00
Parent 0f8f63c6bb
révision 37a4ba0624

Voir le fichier

@ -797,7 +797,7 @@ defmodule Pleroma.Web.ActivityPub.Utils do
where: fragment("(?)->>'actor' = ?", activity.data, ^actor),
where:
fragment(
"(?)->'inReplyTo' = ?",
"(?)->>'inReplyTo' = ?",
object.data,
^to_string(id)
),