Skip to content

[HOLD for payment 2024-05-09] Stop sending <mention-report> when not in a policy room #40480

@rlinoz

Description

@rlinoz

When we add a comment to a report we parse it before sending to the backend with ExpensiMark here.

We added the logic to parse #room-name to <mention-report>#room-name</mention-report> here, but since we only allow report mentions to happen inside policy rooms, we should prevent the parsing from happening for messages sent outside of a policy room.

Issue OwnerCurrent Issue Owner: @greg-schroeder
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~013f795318d2531edc
  • Upwork Job ID: 1787964711355367424
  • Last Price Increase: 2024-05-07

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2InternalRequires API changes or must be handled by Expensify staff

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions