From c42e503d3434f49fba99232d87853261d2cb9c58 Mon Sep 17 00:00:00 2001 From: Ashoat Tevosyan Date: Wed, 25 Sep 2024 16:34:41 -0400 Subject: [PATCH] Revert "[native] Temporary changes for staff release" This reverts commit 956646f8e91a9073275385f7ad743a02a432ea42. --- native/cpp/CommonCpp/Tools/StaffUtils.cpp | 2 +- native/utils/staff-utils.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/native/cpp/CommonCpp/Tools/StaffUtils.cpp b/native/cpp/CommonCpp/Tools/StaffUtils.cpp index 62785ebe92..c630858676 100644 --- a/native/cpp/CommonCpp/Tools/StaffUtils.cpp +++ b/native/cpp/CommonCpp/Tools/StaffUtils.cpp @@ -2,6 +2,6 @@ namespace comm { bool StaffUtils::isStaffRelease() { - return true; + return false; } } // namespace comm diff --git a/native/utils/staff-utils.js b/native/utils/staff-utils.js index 3464e92177..c762280900 100644 --- a/native/utils/staff-utils.js +++ b/native/utils/staff-utils.js @@ -2,7 +2,7 @@ import { useIsCurrentUserStaff } from 'lib/shared/staff-utils.js'; -const isStaffRelease = true; +const isStaffRelease = false; function useStaffCanSee(): boolean { const isCurrentUserStaff = useIsCurrentUserStaff();