feat: Ability to unmute muted conversations (#1319)

This commit is contained in:
Dmitriy Shcherbakan
2020-10-08 09:32:08 +03:00
committed by GitHub
parent 2aad33a5be
commit ecebe163e1
13 changed files with 242 additions and 0 deletions

View File

@@ -32,6 +32,11 @@ class Api::V1::Accounts::ConversationsController < Api::V1::Accounts::BaseContro
head :ok
end
def unmute
@conversation.unmute!
head :ok
end
def transcript
ConversationReplyMailer.conversation_transcript(@conversation, params[:email])&.deliver_later if params[:email].present?
head :ok