Progress with DMs

Progress with DMs
This commit is contained in:
mgabdev
2020-12-03 17:13:11 -05:00
parent a129b3ce3b
commit 137a36b810
53 changed files with 539 additions and 182 deletions

View File

@@ -26,7 +26,7 @@ class Api::V1::ChatConversationController < Api::BaseController
end
def mark_chat_conversation_unread
@chat_conversation_account.update!(is_unread: true)
@chat_conversation_account.update!(unread_count: 1)
render json: @chat_conversation_account, serializer: REST::ChatConversationAccountSerializer
end