Skip to content

Commit

Permalink
Fix: Remove unsed changes
Browse files Browse the repository at this point in the history
  • Loading branch information
truph01 committed Jul 10, 2024
1 parent 77a1cc7 commit 23ad662
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6902,10 +6902,6 @@ function isAdminOwnerApproverOrReportOwner(report: OnyxEntry<Report>, policy: On
* Whether the user can join a report
*/
function canJoinChat(report: OnyxInputOrEntry<Report>, parentReportAction: OnyxInputOrEntry<ReportAction>, policy: OnyxInputOrEntry<Policy>): boolean {
if (report && isPublicRoom(report) && SessionUtils.isAnonymousUser()) {
return true;
}

// We disabled thread functions for whisper action
// So we should not show join option for existing thread on whisper message that has already been left, or manually leave it
if (ReportActionsUtils.isWhisperAction(parentReportAction)) {
Expand Down

0 comments on commit 23ad662

Please sign in to comment.