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:
parent
e9f579bd3f
commit
05ca0c908f
@ -1,7 +1,7 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class GroupArchivedMessage < ActiveRecord::Base
|
class GroupArchivedMessage < ActiveRecord::Base
|
||||||
belongs_to :user
|
belongs_to :group
|
||||||
belongs_to :topic
|
belongs_to :topic
|
||||||
|
|
||||||
def self.move_to_inbox!(group_id, topic)
|
def self.move_to_inbox!(group_id, topic)
|
||||||
|
Loading…
Reference in New Issue
Block a user