red-gold / react-social-network

Simple React Social Network
https://medium.com/@qolzam/create-social-network-by-react-js-fe60010a32e6
MIT License
489 stars 484 forks source link

A user is receiving notifications for actions they carried out - the user ended up receiving my notifications #31

Closed toyeebgodo closed 7 years ago

toyeebgodo commented 7 years ago

Steps

1 Followed me 2 Commented on my post 3 Voted on my post

Expected Result

There shouldn't have been any expected result because those are normal interactions by a user.

Actual Result

Ayomide surprisingly received three notifications that read:

1 Ayomide Otunba follow you

2 Ayomide Otunba add comment on your post

3 Ayomide Otunba Vote on your post

What this means is that, Ayomide Otunba received three notifications that were supposed to have been mine. She was not supposed to have received any of the notifications above for actions that she carried out herself. I was supposed to have been the one receiving the notifications.

Version

x.y.z

Testcase

Qolzam commented 7 years ago

Thanks for reporting. I've followed your steps as a new user in a new repository of master, and I traced the procedure too. However, everything is going well. Please be sure you are using updated branch.

toyeebgodo commented 7 years ago

@Qolzam , thanks for your quick reply. The issue occurred several times while I was using the demo http://greensocial.herokuapp.com . I have not set the app up on firebase, yet.

Qolzam commented 7 years ago

Thanks. I have just synced Demo with master repository.