Feat: Manage conversation for tweets based on the tweet flag (#3353)

Add tweet conversation only if tweets are enabled.

Fixes #1961
This commit is contained in:
Tejaswini Chile
2021-12-16 00:24:50 +05:30
committed by GitHub
parent e2e459a1ac
commit 9984edd3ef
12 changed files with 73 additions and 17 deletions

View File

@@ -14,6 +14,8 @@ json.working_hours resource.weekly_schedule
json.timezone resource.timezone
json.callback_webhook_url resource.callback_webhook_url
json.tweets_enabled resource.channel.try(:tweets_enabled) if resource.twitter?
## Channel specific settings
## TODO : Clean up and move the attributes into channel sub section