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

@@ -46,6 +46,8 @@ class Inbox < ApplicationRecord
after_destroy :delete_round_robin_agents
scope :order_by_id, -> { order(id: :asc) }
def add_member(user_id)
member = inbox_members.new(user_id: user_id)
member.save!