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

[$500] Chat - Whisper for flagged message meant for the offender is visible to person who flags it #31443

Closed
2 of 6 tasks
kbecciv opened this issue Nov 16, 2023 · 22 comments
Closed
2 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Internal Requires API changes or must be handled by Expensify staff

Comments

@kbecciv
Copy link

kbecciv commented Nov 16, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 1.4.0
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Action Performed:

  1. [User A] Send a message (MODERATION_TEST) to user B.
  2. [User B] On Android or iOS app, flag the message as Assault.

Expected Result:

User B will not be able to see the whisper message that is meant for User A.

Actual Result:

User B is able to see the whisper message that is meant for User A.

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6279129_1700142457636.Screen_Recording_20231115_090825_New_Expensify.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01dc7ea43f03435a3c
  • Upwork Job ID: 1725150741846491136
  • Last Price Increase: 2023-11-16
@kbecciv kbecciv added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Nov 16, 2023
@melvin-bot melvin-bot bot changed the title Chat - Whisper for flagged message meant for the offender is visible to person who flags it [$500] Chat - Whisper for flagged message meant for the offender is visible to person who flags it Nov 16, 2023
Copy link

melvin-bot bot commented Nov 16, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01dc7ea43f03435a3c

Copy link

melvin-bot bot commented Nov 16, 2023

Triggered auto assignment to @slafortune (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Nov 16, 2023
Copy link

melvin-bot bot commented Nov 16, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

Copy link

melvin-bot bot commented Nov 16, 2023

Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif (External)

@erquhart
Copy link
Contributor

I would expect this to be addressed on the backend, whispers for other users shouldn't be in the api responses.

@melvin-bot melvin-bot bot added the Overdue label Nov 20, 2023
Copy link

melvin-bot bot commented Nov 20, 2023

@slafortune, @aimane-chnaif Whoops! This issue is 2 days overdue. Let's get this updated quick!

@slafortune slafortune added Internal Requires API changes or must be handled by Expensify staff and removed External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors labels Nov 20, 2023
Copy link

melvin-bot bot commented Nov 20, 2023

Current assignee @aimane-chnaif is eligible for the Internal assigner, not assigning anyone new.

Copy link

melvin-bot bot commented Nov 20, 2023

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

@melvin-bot melvin-bot bot removed the Overdue label Nov 20, 2023
@NikkiWines
Copy link
Contributor

NikkiWines commented Nov 21, 2023

Yep, if whispers are being sent to the wrong users i'd guess it's definitely a backend issue. cc: @pecanoro in case you want to snag this since you have familiarity with our whisper logic.

@pecanoro
Copy link
Contributor

This is unrelated to the whisper logic, I am 99% sure that whoever wrote the flagging functionality is sending push notifications to all chat participants instead of the person in the whisperedTo (the function to send the notification has an additional parameter to only send the notification to some accountIDs and it's probably missing).

@pecanoro
Copy link
Contributor

Adding to my previous comment, that was my theory because if you log out and log in again the whisper is gone, so basically this is due to some faulty pusher events.

Copy link

melvin-bot bot commented Nov 24, 2023

@slafortune, @NikkiWines, @aimane-chnaif Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot melvin-bot bot added the Overdue label Nov 24, 2023
Copy link

melvin-bot bot commented Nov 28, 2023

@slafortune, @NikkiWines, @aimane-chnaif 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

@NikkiWines
Copy link
Contributor

Been OOO, will look into this when I'm back

@melvin-bot melvin-bot bot removed the Overdue label Nov 28, 2023
Copy link

melvin-bot bot commented Nov 30, 2023

@slafortune @NikkiWines @aimane-chnaif this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

1 similar comment
Copy link

melvin-bot bot commented Nov 30, 2023

@slafortune @NikkiWines @aimane-chnaif this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

@melvin-bot melvin-bot bot added the Overdue label Nov 30, 2023
@aimane-chnaif
Copy link
Contributor

Not overdue

@melvin-bot melvin-bot bot removed the Overdue label Nov 30, 2023
Copy link

melvin-bot bot commented Nov 30, 2023

@slafortune @NikkiWines @aimane-chnaif this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

@melvin-bot melvin-bot bot added the Overdue label Dec 4, 2023
@NikkiWines
Copy link
Contributor

Dropping this to weekly for now, still on my radar

@NikkiWines NikkiWines added Weekly KSv2 and removed Daily KSv2 labels Dec 5, 2023
@melvin-bot melvin-bot bot removed the Overdue label Dec 5, 2023
Copy link

melvin-bot bot commented Dec 7, 2023

@slafortune @NikkiWines @aimane-chnaif this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks!

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Dec 7, 2023
@NikkiWines
Copy link
Contributor

I'm not longer able to reproduce this. @kbecciv can we confirm this is still an issue please?

@NikkiWines
Copy link
Contributor

Confirmed not reproducible on staging v1.4.10-1. Closing

RPReplay_Final1702083164.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Internal Requires API changes or must be handled by Expensify staff
Projects
None yet
Development

No branches or pull requests

6 participants