hatchways / team-penguin

World Chat Messenger allows users from completely different language backgrounds to converse with each other in their own language taking globalization to the next level.
2 stars 0 forks source link

FE-BE[BUG]: User is able to invite themselves #68

Open rjtbansal opened 4 years ago

rjtbansal commented 4 years ago

Steps to reproduce: 1 Login to the app with an email 2 Use the same email to send an invite 3 Invitation will show up as a pending request as well as an incoming request

Expected outcome: User should not be allowed to send such an invitation. Either the error should be thrown or it should be silently ignored