mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 20:03:15 +08:00
DEV: Fix double Chat:: module usage in chat models (#21483)
This commit is contained in:
parent
9b95a65dff
commit
79812db7d3
|
@ -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 }
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user