mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 16:24:55 +00:00
FIX: GroupArchivedMessage belongs to Group, not User
This commit is contained in:
parent
e9f579bd3f
commit
05ca0c908f
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user