You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
! $org->isMaintainedBy($user) => Response::deny('Only maintainers can pin messages.'),
$message->pinned_at === null && $org->messages()->whereNotNull('pinned_at')->count() >= Conversation::MAX_PINNED_MESSAGES => Response::deny('An org can pin up to '.Conversation::MAX_PINNED_MESSAGES.' messages. Unpin one first.'),