Mastodon API: Add `pleroma.unread_conversation_count` to the Account entity
authoreugenijm <eugenijm@protonmail.com>
Tue, 1 Oct 2019 21:37:08 +0000 (00:37 +0300)
committereugenijm <eugenijm@protonmail.com>
Sat, 5 Oct 2019 17:12:00 +0000 (20:12 +0300)
commit8249924485965148f3a690c5d76e5f8b3bd78940
tree7102a7d96f2c8ccedd2a8801c0c89af58d0a3f4c
parente51c20f28a91028b06a5783601e4ce09536bba5b
Mastodon API: Add `pleroma.unread_conversation_count` to the Account entity
12 files changed:
CHANGELOG.md
docs/API/differences_in_mastoapi_responses.md
lib/pleroma/conversation.ex
lib/pleroma/conversation/participation.ex
lib/pleroma/user.ex
lib/pleroma/user/info.ex
lib/pleroma/web/mastodon_api/views/account_view.ex
priv/repo/migrations/20191005165212_add_unread_conversation_count_to_user_info.exs [new file with mode: 0644]
test/conversation/participation_test.exs
test/web/mastodon_api/controllers/conversation_controller_test.exs
test/web/mastodon_api/views/account_view_test.exs
test/web/pleroma_api/controllers/pleroma_api_controller_test.exs