Chat: Add views, don't return them in timeline queries.
authorlain <lain@soykaf.club>
Wed, 15 Apr 2020 16:23:16 +0000 (18:23 +0200)
committerlain <lain@soykaf.club>
Wed, 15 Apr 2020 16:23:16 +0000 (18:23 +0200)
commit6ace22b56a3ced833bd990de5715048d6bd32f80
tree5a25770b3c34a73e74987689158c53d40c7bb1a9
parent44bfb491eae00d541e6d11c8b52b5de5bc0bd34e
Chat: Add views, don't return them in timeline queries.
lib/pleroma/web/activity_pub/activity_pub.ex
lib/pleroma/web/api_spec/operations/chat_operation.ex [new file with mode: 0644]
lib/pleroma/web/common_api/common_api.ex
lib/pleroma/web/pleroma_api/controllers/chat_controller.ex
lib/pleroma/web/pleroma_api/views/chat_message_view.ex [new file with mode: 0644]
lib/pleroma/web/pleroma_api/views/chat_view.ex [new file with mode: 0644]
test/web/mastodon_api/controllers/timeline_controller_test.exs
test/web/pleroma_api/controllers/chat_controller_test.exs
test/web/pleroma_api/views/chat_message_view_test.exs [new file with mode: 0644]