projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'feld-Logger' into 'develop'
[akkoma]
/
lib
/
pleroma
/
web
/
websub
/
websub_client_subscription.ex
diff --git
a/lib/pleroma/web/websub/websub_client_subscription.ex
b/lib/pleroma/web/websub/websub_client_subscription.ex
index 341e27c518b4cae23c147a50978f5192f7462659..c7a25ea227b49fc03909268c77dfb5e8d36dcb21 100644
(file)
--- a/
lib/pleroma/web/websub/websub_client_subscription.ex
+++ b/
lib/pleroma/web/websub/websub_client_subscription.ex
@@
-1,5
+1,6
@@
defmodule Pleroma.Web.Websub.WebsubClientSubscription do
use Ecto.Schema
defmodule Pleroma.Web.Websub.WebsubClientSubscription do
use Ecto.Schema
+ alias Pleroma.User
schema "websub_client_subscriptions" do
field :topic, :string
schema "websub_client_subscriptions" do
field :topic, :string
@@
-7,6
+8,8
@@
defmodule Pleroma.Web.Websub.WebsubClientSubscription do
field :valid_until, :naive_datetime
field :state, :string
field :subscribers, {:array, :string}, default: []
field :valid_until, :naive_datetime
field :state, :string
field :subscribers, {:array, :string}, default: []
+ field :hub, :string
+ belongs_to :user, User
timestamps()
end
timestamps()
end