From fe2d67eedc7d0e00bbea1da723122e41afd5ab60 Mon Sep 17 00:00:00 2001 From: Ben Halpern Date: Tue, 20 Aug 2019 17:11:50 -0400 Subject: [PATCH] Remove channel_users from chat_channel index (#3780) --- app/models/chat_channel.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/chat_channel.rb b/app/models/chat_channel.rb index ff453cc90..232362905 100644 --- a/app/models/chat_channel.rb +++ b/app/models/chat_channel.rb @@ -21,7 +21,7 @@ class ChatChannel < ApplicationRecord algoliasearch index_name: "SecuredChatChannel_#{Rails.env}" do attribute :id, :viewable_by, :slug, :channel_type, - :channel_name, :channel_users, :last_message_at, :status, + :channel_name, :last_message_at, :status, :messages_count, :channel_human_names, :channel_mod_ids, :pending_users_select_fields, :description searchableAttributes %i[channel_name channel_slug channel_human_names]