logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma
commit: d977d73b91dbf8e9129de0478c51114d7d462edf
parent: 0f8f63c6bb4a26615277f43ed4f30f032d71df83
Author: kaniini <nenolod@gmail.com>
Date:   Tue,  4 Jun 2019 08:55:04 +0000

Merge branch 'fix/poll-performance' into 'develop'

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

See merge request pleroma/pleroma!1243

Diffstat:

Mlib/pleroma/web/activity_pub/utils.ex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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) ),