Skip to content

Commit

Permalink
Remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
cristipaval committed Jan 16, 2024
1 parent 9eaddcd commit c71299b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/libs/actions/Report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,10 @@ const typingWatchTimers: Record<string, NodeJS.Timeout> = {};

let reportIDDeeplinkedFromOldDot: string | undefined;
Linking.getInitialURL().then((url) => {
console.debug("CRISTIIII - " + url);
const params = new URLSearchParams(url ?? '');
const exitToRoute = params.get('exitTo') ?? '';
const {reportID} = ReportUtils.parseReportRouteParams(exitToRoute);
reportIDDeeplinkedFromOldDot = reportID;
console.debug("CRISTIIII - " + reportIDDeeplinkedFromOldDot);
});

/** Get the private pusher channel name for a Report. */
Expand Down Expand Up @@ -365,9 +363,8 @@ function addActions(reportID: string, text = '', file?: File) {
shouldAllowActionableMentionWhispers: true,
clientCreatedTime: file ? attachmentAction?.created : reportCommentAction?.created,
};
console.debug("CRISTIIII - reportIDDeeplinkedFromOldDot: " + reportIDDeeplinkedFromOldDot);

if (reportIDDeeplinkedFromOldDot === reportID && report?.participantAccountIDs?.length === 1 && Number(report.participantAccountIDs?.[0]) === CONST.ACCOUNT_ID.CONCIERGE) {
console.debug("CRISTIIII - isOldDotConciergeChat: " + true);
parameters.isOldDotConciergeChat = true;
}

Expand Down

0 comments on commit c71299b

Please sign in to comment.