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…
Reference in New Issue