Mark the conversations with the blocked user as read and update the blocking user...
authoreugenijm <eugenijm@protonmail.com>
Fri, 25 Oct 2019 18:29:23 +0000 (21:29 +0300)
committereugenijm <eugenijm@protonmail.com>
Fri, 25 Oct 2019 23:29:18 +0000 (02:29 +0300)
commit058065448510af59f550ec7d7f99b81388bc7a40
treeebfab2d6e509637607f8c42839abd1c15c0bc5d6
parent653054d301b88070cd60f6b0f8a0b188dee81cba
Mark the conversations with the blocked user as read and update the blocking user's `unread_conversation_count`.

Since the conversations with the blocked user are invisible, they are excluded
from the blocking user's `unread_conversation_count`.
lib/pleroma/conversation.ex
lib/pleroma/conversation/participation.ex
lib/pleroma/user.ex
lib/pleroma/web/pleroma_api/controllers/pleroma_api_controller.ex
test/conversation/participation_test.exs