summaryrefslogtreecommitdiff
path: root/app/models/chat_room.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/chat_room.rb')
-rw-r--r--app/models/chat_room.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/chat_room.rb b/app/models/chat_room.rb
index 17e3f19..f1e9a24 100644
--- a/app/models/chat_room.rb
+++ b/app/models/chat_room.rb
@@ -14,7 +14,7 @@ class ChatRoom < ApplicationRecord
}
def self.accessible_to(user)
- all.select { |x| x.accessible_to?(user) }
+ all.select { |x| x.accessible_to?(user) && x.gid != "achievement" }
end
def accessible_to?(user)