Add `is_seen` to MastoAPI notifications, extract rendering logic into separate Notifi...
authoreugenijm <eugenijm@protonmail.com>
Thu, 14 Mar 2019 18:39:58 +0000 (21:39 +0300)
committereugenijm <eugenijm@protonmail.com>
Thu, 14 Mar 2019 22:35:48 +0000 (01:35 +0300)
commit100413bf2c506ab96bc80927b9e774a91d179684
treeb863fbbc21a224182b3bb393b2a516f7fde01be4
parent59333f2d568dc6e50fb72e5114ec7dd6bcc1ebef
Add `is_seen` to MastoAPI notifications, extract rendering logic into separate NotificationView, add tests
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
lib/pleroma/web/mastodon_api/views/notification_view.ex [new file with mode: 0644]
lib/pleroma/web/streamer.ex
test/web/mastodon_api/notification_view_test.exs [new file with mode: 0644]