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

Buggy behaviour when trying to message missed contact request by yourself #308

Open
rashfael opened this issue Nov 9, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@rashfael
Copy link
Contributor

rashfael commented Nov 9, 2021

Steps to reproduce:

  1. Be staff of an exhibitor
  2. click "Contact Exhibitor" and let prompt expire
  3. Go to /contact-requests and click MESSAGE on your own missed contact request by yourself

What happens:
a. if you have an existing DM channel joined, the first DM will open (because it searches for a DM channel with yourself in it and 2 users)
b. if you have no DM channels joined, an actual channel will be requested and the server will respond with chat.denied

What should happen:
Either we allow self-dms, show an error when trying to open a self-dm or prevent pressing the message button at all, when you try to contact yourself.

Sidenote: You cannot DM yourself via the normal means of opening a dm with + in the sidebar.

@rashfael rashfael added the bug Something isn't working label Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant