ChatMessageReference: Introduce and switch in chat controller.
authorlain <lain@soykaf.club>
Wed, 3 Jun 2020 10:30:12 +0000 (12:30 +0200)
committerlain <lain@soykaf.club>
Wed, 3 Jun 2020 10:30:12 +0000 (12:30 +0200)
commitaa22fce8f46cf2e7f871b3584fbfff7ac2ebe4c2
tree861f95fdb3b8d01ad699db9ffc987678a3a41839
parent2c6ebe709a9fb84bedb5d50c24715fd4532272f9
ChatMessageReference: Introduce and switch in chat controller.
lib/pleroma/chat.ex
lib/pleroma/chat_message_reference.ex [new file with mode: 0644]
lib/pleroma/web/activity_pub/side_effects.ex
lib/pleroma/web/pleroma_api/controllers/chat_controller.ex
lib/pleroma/web/pleroma_api/views/chat_message_reference_view.ex [moved from lib/pleroma/web/pleroma_api/views/chat_message_view.ex with 67% similarity]
priv/repo/migrations/20200602150528_create_chat_message_reference.exs [new file with mode: 0644]
test/web/activity_pub/side_effects_test.exs
test/web/pleroma_api/controllers/chat_controller_test.exs
test/web/pleroma_api/views/chat_message_reference_view_test.exs [moved from test/web/pleroma_api/views/chat_message_view_test.exs with 67% similarity]