Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You cannot start a Group DM with Concierge or concierge@expensify.com #8586

Closed
mvtglobally opened this issue Apr 11, 2022 · 6 comments
Closed
Assignees
Labels
Daily KSv2 Engineering Reviewing Has a PR in review

Comments

@mvtglobally
Copy link

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

Start a Group DM, try to type Concierge or concierge@expensify.com

Expected Result:

Like starting a chat with Concierge, or emailing concierge@expensify.com and cc'ing other participants will start a DM with Concierge included, we should allow for group DM's to be created with Concierge as a participant.
Note: You should still absolutely NOT be able to split a bill or request money from or pay money to Concierge.

Actual Result:

No results found

Workaround:

unknown

Platform:

Where is this issue occurring?

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number: 1.1.54-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
image - 2022-04-11T010351 788

Expensify/Expensify Issue URL:
Issue reported by: @twisterdotcom
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1649409599962969

View all open jobs on GitHub

@melvin-bot
Copy link

melvin-bot bot commented Apr 11, 2022

Triggered auto assignment to @MariaHCD (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@MariaHCD
Copy link
Contributor

I think the issue lies here when setting the excludedGroupEmails, it looks like _.without does not accept an array of values to exclude but rather accepts the values as multiple arguments.

Just to clarify, we definitely want to exclude CONST.EMAIL.RECEIPTS & CONST.EMAIL.INTEGRATION_TESTING_CREDS when creating a group chat, correct?

cc: @marcaaron @parasharrajat

@twisterdotcom
Copy link
Contributor

I agree we shouldn't include receipts. I'm not sure what integration testing creds does though or how that would adversely affect us if they did start a chat with it.

@parasharrajat
Copy link
Member

Yeah, good catch @MariaHCD. I didn't notice that bug as I only moved the code position. What is the expected behavior here?

@MariaHCD
Copy link
Contributor

I agree we shouldn't include receipts

Agreed!

I'm not sure what integration testing creds does though or how that would adversely affect us if they did start a chat with it.

Since that email is used for internal testing, I'd say we should exclude this email as well.

What is the expected behavior here?

I think we'll need to do something like this to exclude all other expensify emails except concierge when starting a new group chat:

this.excludedGroupEmails = _.without(CONST.EXPENSIFY_EMAILS, CONST.EMAIL.CONCIERGE);

@melvin-bot

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Daily KSv2 Engineering Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests

4 participants