projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
MastoAPI: Add max_toot_chars.
[akkoma]
/
lib
/
pleroma
/
web
/
websub
/
websub_client_subscription.ex
1
defmodule Pleroma.Web.Websub.WebsubClientSubscription do
2
use Ecto.Schema
3
alias Pleroma.User
4
5
schema "websub_client_subscriptions" do
6
field :topic, :string
7
field :secret, :string
8
field :valid_until, :naive_datetime
9
field :state, :string
10
field :subscribers, {:array, :string}, default: []
11
field :hub, :string
12
belongs_to :user, User
13
14
timestamps()
15
end
16
end