Skip to content

Commit

Permalink
hide "admin only can post" when is blocked from chat
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedGaber93 committed May 31, 2024
1 parent 079e852 commit 8687095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/report/ReportFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ function ReportFooter({
{isArchivedRoom && <ArchivedReportFooter report={report} />}
{!isArchivedRoom && blockedFromChat && <BlockedReportFooter />}
{!isAnonymousUser && !canWriteInReport && isSystemChat && <SystemChatReportFooterMessage />}
{isAdminsOnlyPostingRoom && !isUserPolicyAdmin && !isArchivedRoom && !isAnonymousUser && (
{isAdminsOnlyPostingRoom && !isUserPolicyAdmin && !isArchivedRoom && !isAnonymousUser && !blockedFromChat && (
<Banner
containerStyles={[styles.chatFooterBanner]}
text={translate('adminOnlyCanPost')}
Expand Down

0 comments on commit 8687095

Please sign in to comment.