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

Store "other recipients" in mongodb thread object #19

Open
2 tasks
khakers opened this issue Aug 12, 2023 · 0 comments
Open
2 tasks

Store "other recipients" in mongodb thread object #19

khakers opened this issue Aug 12, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@khakers
Copy link
Collaborator

khakers commented Aug 12, 2023

Is your feature request related to a problem? Please elaborate.

Other recipients (all those added to a thread aside the creator) are currently only stored within the topic of a channel. This makes them difficult to parse and also means it's easy to accidently break the state, especially if a user reasonably assume that channels do not store actual bot state. It also means that it's impossible to check who the "other recipients" were after a thread has been closed.

Describe the solution you'd like

Store other recipients within mongodb. When retrieving recipients, use the values stored for the thread within the database instead of checking the topic or genesis message.

Does your solution involve any of the following?

  • Logviewer
  • New config option

Describe alternatives you've considered

maintain status quo, stops progress towards removing reliance on channel names and topics, and improving resiliency.

Who will this benefit?

Will benefit all users by reducing the dependence of modmail on easily changed discord based information that requires fragile string parsing. Will benefit historical threads by allowing users to see all the users that were added to a thread.

Additional Information

No response

@khakers khakers changed the title Store other recipients in mongodb thread object Store "other recipients" in mongodb thread object Aug 12, 2023
@raidensakura raidensakura added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Sep 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants