Change emoji reaction duplication check
This commit is contained in:
parent
3258d09c64
commit
c30d4b5162
3 changed files with 22 additions and 10 deletions
|
@ -28,7 +28,6 @@ class EmojiReaction < ApplicationRecord
|
|||
|
||||
has_one :notification, as: :activity, dependent: :destroy
|
||||
|
||||
validate :status_same_emoji_reaction
|
||||
validate :status_emoji_reactions_count
|
||||
validates_with EmojiReactionValidator
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue