From: William Pitcock Date: Tue, 4 Jun 2019 08:45:03 +0000 (+0000) Subject: utils: access inReplyTo as an explicit string when fetching poll results` X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=37a4ba06244705dae0a4b0eea9f6f4ac647f5dfb;p=akkoma utils: access inReplyTo as an explicit string when fetching poll results` --- diff --git a/lib/pleroma/web/activity_pub/utils.ex b/lib/pleroma/web/activity_pub/utils.ex index b292d7d8d..b8159e9e5 100644 --- a/lib/pleroma/web/activity_pub/utils.ex +++ b/lib/pleroma/web/activity_pub/utils.ex @@ -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) ),