Add management of webmentions

This commit is contained in:
2024-01-26 11:43:19 +11:00
parent 9dad3d88ce
commit fa031d880b
10 changed files with 110 additions and 4 deletions

View File

@@ -96,7 +96,7 @@ module Adamantium
.published
.combine(:tags, :webmentions)
.node(:webmentions) { |webmention|
webmention.where(type: "reply")
webmention.published.where(type: "reply")
}
.order(Sequel.desc(:published_at))
.limit(limit)
@@ -186,7 +186,7 @@ module Adamantium
.published
.combine(:tags, :trips, :webmentions)
.node(:webmentions) { |webmention|
webmention.where(type: "reply")
webmention.published.where(type: "reply")
}
.where(slug: slug)
.one!