feat: Disable attachments and emoji picker in the web widget (#1102)

Signed-off-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
This commit is contained in:
Pranav Raj S
2020-08-05 17:46:17 +05:30
committed by GitHub
parent 3b23aa7913
commit db877453a4
23 changed files with 422 additions and 141 deletions

View File

@@ -0,0 +1,5 @@
class AddFeatureSettingToWebsiteInbox < ActiveRecord::Migration[6.0]
def change
add_column :channel_web_widgets, :feature_flags, :integer, default: 3, null: false
end
end

View File

@@ -178,6 +178,7 @@ ActiveRecord::Schema.define(version: 2020_08_02_170002) do
t.string "widget_color", default: "#1f93ff"
t.string "welcome_title"
t.string "welcome_tagline"
t.integer "feature_flags", default: 3, null: false
t.index ["website_token"], name: "index_channel_web_widgets_on_website_token", unique: true
end