DEV: Fix double Chat:: module usage in chat models (#21483)

This commit is contained in:
Martin Brennan 2023-05-10 17:51:46 +02:00 committed by GitHub
parent 9b95a65dff
commit 79812db7d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# frozen_string_literal: true
module Chat
class Chat::UserChatChannelMembership < ActiveRecord::Base
class UserChatChannelMembership < ActiveRecord::Base
self.table_name = "user_chat_channel_memberships"
NOTIFICATION_LEVELS = { never: 0, mention: 1, always: 2 }

View File

@ -1,7 +1,7 @@
# frozen_string_literal: true
module Chat
class Chat::UserChatThreadMembership < ActiveRecord::Base
class UserChatThreadMembership < ActiveRecord::Base
self.table_name = "user_chat_thread_memberships"
belongs_to :user