question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Hold WAQ] Extend “archive” pattern to DMs

See original GitHub issue

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


Coming from this Slack conversation

Problem

Active accounts in DMs with closed accounts can still send messages and money requests, despite the closed accountholder explicitly taking the action to close their account. When this happens the closed accountholder receives the unread messages email summary delivered via the NotifyOfflineUsersAboutActivity job, just like they would if they still had an active account. This creates a confusing experience for 1) the person that actively closed their account that doesn’t expect to continue to receive messages and money requests after taking that action and 2) the active accountholder who’s unaware that the other participant doesn’t intend to respond or pay them back.

image image

Solution

Extend our “archived” chat pattern used for rooms and workspace chats to DMs, such that the ability to send additional messages or request money within the DM is no longer possible after a participant has explicitly closed their account.

  1. The chat name will show as archived in the UI i.e Tom Rhys Jones (archived)
  2. The archivedReason text box that blocks further chat input explains it i.e This chat is archived because **Tom Rhys Jones** has closed their account.
  3. If the closed accountholder reopens their account the chat is unarchived (similar to how we archive/unarchive a policyExpenseChat when a member is removed/re-added to a policy).

View all open jobs on GitHub

Issue Analytics

  • State:open
  • Created 9 months ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
trjExpensifycommented, Dec 8, 2022

Yeah, I thought we already agreed in the thread to put this part on hold. I’m updating the title to reflect that.

1reaction
JmillsExpensifycommented, Dec 8, 2022

I’m still on the fence as to whether this is a WAQ initiative, or whether it’s scope for N7. So for instance, building on the discussion in Slack, I absolutely agree that we should decline/cancel IOUs when someone closes their account. That is what’s causing bugs. This however, is more of a polish item helping people understand whether a person is or isn’t available (because their account is closed). Accordingly, I would default to putting this on HOLD for after WAQ. Curious for thoughts on this!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bug listing with status RESOLVED with resolution FIXED as at ...
status:RESOLVED resolution:FIXED severity:normal · Bug:7050 - "kde-i18n ebuilds don't download the source archive" status:RESOLVED resolution:FIXED ...
Read more >
Last Millennium Reanalysis with an expanded proxy database ...
This remains a major challenge as the information archive is often complex, involving physical, biological and chemical processes (Evans et ...
Read more >
All known MIME types
Chromadrome 2 game data archive wikidata · DoubleSpace compressed volume (v6.0) wikidata · ANSYS Workbench Binary Extension wikidata
Read more >
Full text of "The sixth and seventh books of Moses, or, Moses ...
A line drawing of the Internet Archive headquarters building façade. An illustration of a magnifying glass. An illustration of a magnifying glass.
Read more >
Your HTC Vivid
Archive, delete or label multiple conversations. Tap the check box before the email message or conversation. Then tap the onscreen buttons at.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found