Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Sending a notification to yourself #40

Open
tanersnmz opened this issue Dec 13, 2022 · 0 comments
Open

Sending a notification to yourself #40

tanersnmz opened this issue Dec 13, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@tanersnmz
Copy link
Contributor

Location

Notification Screen

Bug Description

When users try to send themselves notifications, they can send them.

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Profile Page'
  2. Click on 'Notifications'
  3. Try to send a notification to yourself.
  4. See the notification.

Expected Behavior

In an app that works properly, users can't send themselves notifications.

Screenshots
bugreport-1
Users can send notifications to himself/herself.
bugreport2
Here is the incoming notification to the same user.

For PC Users:

  • OS: Windows 10
  • Browser Version: Google Chrome 108.0.5359.99 (64-bit)

Suggested fix:

  • Adjust the backend so that it checks whether the user tries to send a notification to himself/herself.
  • If this is the case, do not send the notification and show an error message.
@tanersnmz tanersnmz added the bug Something isn't working label Dec 13, 2022
@tanersnmz tanersnmz self-assigned this Dec 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant