mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: GroupArchivedMessage belongs to Group, not User
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class GroupArchivedMessage < ActiveRecord::Base
|
||||
belongs_to :user
|
||||
belongs_to :group
|
||||
belongs_to :topic
|
||||
|
||||
def self.move_to_inbox!(group_id, topic)
|
||||
|
||||
Reference in New Issue
Block a user