From: Alex Gleason Date: Sat, 25 Dec 2021 01:41:12 +0000 (+0000) Subject: Merge branch 'account-notes' into 'develop' X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=73609211a425922a5068d3912a36b82abe24e12c;p=akkoma Merge branch 'account-notes' into 'develop' MastoAPI: Add user notes on accounts See merge request pleroma/pleroma!3540 --- 73609211a425922a5068d3912a36b82abe24e12c diff --cc lib/pleroma/web/api_spec/schemas/account.ex index ad1a85544,e0bd2728b..548e70544 --- a/lib/pleroma/web/api_spec/schemas/account.ex +++ b/lib/pleroma/web/api_spec/schemas/account.ex @@@ -194,10 -194,10 +194,11 @@@ defmodule Pleroma.Web.ApiSpec.Schemas.A "id" => "9tKi3esbG7OQgZ2920", "muting" => false, "muting_notifications" => false, + "note" => "", "requested" => false, "showing_reblogs" => true, - "subscribing" => false + "subscribing" => false, + "notifying" => false }, "settings_store" => %{ "pleroma-fe" => %{} diff --cc lib/pleroma/web/api_spec/schemas/account_relationship.ex index b4f6d25b0,163066032..5d9e3b56e --- a/lib/pleroma/web/api_spec/schemas/account_relationship.ex +++ b/lib/pleroma/web/api_spec/schemas/account_relationship.ex @@@ -22,10 -22,10 +22,11 @@@ defmodule Pleroma.Web.ApiSpec.Schemas.A id: FlakeID, muting: %Schema{type: :boolean}, muting_notifications: %Schema{type: :boolean}, + note: %Schema{type: :string}, requested: %Schema{type: :boolean}, showing_reblogs: %Schema{type: :boolean}, - subscribing: %Schema{type: :boolean} + subscribing: %Schema{type: :boolean}, + notifying: %Schema{type: :boolean} }, example: %{ "blocked_by" => false, @@@ -37,10 -37,10 +38,11 @@@ "id" => "9tKi3esbG7OQgZ2920", "muting" => false, "muting_notifications" => false, + "note" => "", "requested" => false, "showing_reblogs" => true, - "subscribing" => false + "subscribing" => false, + "notifying" => false } }) end diff --cc lib/pleroma/web/api_spec/schemas/status.ex index 0bf3312d1,60801f322..3caab0f00 --- a/lib/pleroma/web/api_spec/schemas/status.ex +++ b/lib/pleroma/web/api_spec/schemas/status.ex @@@ -282,10 -282,10 +282,11 @@@ defmodule Pleroma.Web.ApiSpec.Schemas.S "id" => "9toJCsKN7SmSf3aj5c", "muting" => false, "muting_notifications" => false, + "note" => "", "requested" => false, "showing_reblogs" => true, - "subscribing" => false + "subscribing" => false, + "notifying" => false }, "skip_thread_containment" => false, "tags" => []