Open princekhunt opened 2 weeks ago
we can add an option to share private chatroom links with friends which can be easily done by using some parameters in the URL. which can letter on be check using js in frontend for connection
We already have URL to add friend directly, currently we call this URL by the connect user form only.
However, anyone can directly add friend by calling this endpoint.
For example user-A propagates a link to everyone. Now user-B call this endpoint(link)
https://privateping.bytespot.tech/addfriend/user-A?note=
then, a friend request will be sent to user-A from user-B's account.
we haven't allowed sharing the link with friends or showing the direct link in the model anywhere. and we should use Swalfire for the model showing the username and link at the opening. it will maintain model consistancy all over the website.
Is your feature request related to a problem? Please describe. We're showing modal on login that, this is your username, and share it with the friend. Is there any better way to show this message ?
Describe the solution you'd like maybe styles improvements.