Add debugging help.
This commit is contained in:
parent
1b67a59795
commit
312772df7c
2 changed files with 6 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ defmodule Pleroma.Web.Websub do
|
|||
end
|
||||
|
||||
def publish(topic, user, activity) do
|
||||
# TODO: Only send to still valid subscriptions.
|
||||
query = from sub in WebsubServerSubscription,
|
||||
where: sub.topic == ^topic and sub.state == "active"
|
||||
subscriptions = Repo.all(query)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue