diff options
author | William Pitcock <nenolod@dereferenced.org> | 2019-06-04 08:45:03 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2019-06-04 08:45:03 +0000 |
commit | 37a4ba06244705dae0a4b0eea9f6f4ac647f5dfb (patch) | |
tree | 4634a27e1bae707c00c7ac90965d51a95da2e732 /lib | |
parent | 0f8f63c6bb4a26615277f43ed4f30f032d71df83 (diff) | |
download | pleroma-37a4ba06244705dae0a4b0eea9f6f4ac647f5dfb.tar.gz |
utils: access inReplyTo as an explicit string when fetching poll results`
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/activity_pub/utils.ex | 2 |
1 files changed, 1 insertions, 1 deletions
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) ), |