projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' into hide-muted-reactions
[akkoma]
/
lib
/
pleroma
/
web
/
api_spec
/
schemas
/
chat.ex
diff --git
a/lib/pleroma/web/api_spec/schemas/chat.ex
b/lib/pleroma/web/api_spec/schemas/chat.ex
index c6ec07c885c0e3435b893f37733902c01483589e..65f908e33f47552b6bbfa7d587d6c3adb730d67b 100644
(file)
--- a/
lib/pleroma/web/api_spec/schemas/chat.ex
+++ b/
lib/pleroma/web/api_spec/schemas/chat.ex
@@
-16,7
+16,8
@@
defmodule Pleroma.Web.ApiSpec.Schemas.Chat do
id: %Schema{type: :string},
account: %Schema{type: :object},
unread: %Schema{type: :integer},
id: %Schema{type: :string},
account: %Schema{type: :object},
unread: %Schema{type: :integer},
- last_message: ChatMessage
+ last_message: ChatMessage,
+ updated_at: %Schema{type: :string, format: :"date-time"}
},
example: %{
"account" => %{
},
example: %{
"account" => %{
@@
-49,7
+50,7
@@
defmodule Pleroma.Web.ApiSpec.Schemas.Chat do
"fields" => []
},
"statuses_count" => 1,
"fields" => []
},
"statuses_count" => 1,
- "locked" => false,
+ "
is_
locked" => false,
"created_at" => "2020-04-16T13:40:15.000Z",
"display_name" => "lain",
"fields" => [],
"created_at" => "2020-04-16T13:40:15.000Z",
"display_name" => "lain",
"fields" => [],
@@
-67,7
+68,8
@@
defmodule Pleroma.Web.ApiSpec.Schemas.Chat do
},
"id" => "1",
"unread" => 2,
},
"id" => "1",
"unread" => 2,
- "last_message" => ChatMessage.schema().example()
+ "last_message" => ChatMessage.schema().example(),
+ "updated_at" => "2020-04-21T15:06:45.000Z"
}
})
end
}
})
end