beacon icon indicating copy to clipboard operation
beacon copied to clipboard

[Beacons]: User is able to join his own newly created beacon.

Open Aadeesh11 opened this issue 4 years ago • 2 comments

When user creates a beacon, and tries to join it, the number of followers go up by 1.

In this image anonymous (user) is same as of twst (user). Screenshot 2021-12-30 at 12 38 41 AM

Is this the expected behaviour? If no, then i would like to work on this.

Aadeesh11 avatar Dec 29 '21 19:12 Aadeesh11

Firstly, the User should not be able to join the beacon he is already part of (i.e., either he is a leader or follower). As all the beacons he is a part of are displayed under your beacons and can be navigated from there. Secondly, when the beacon's details are fetched using query beacon(...) leader's name is returned as null, because of which Anonymous is getting displayed. You'll have to make these changes in the backend.

nb9960 avatar Dec 29 '21 19:12 nb9960

Firstly, the User should not be able to join the beacon he is already part of (i.e., either he is a leader or follower). As all the beacons he is a part of are displayed under your beacons and can be navigated from there. Secondly, when the beacon's details are fetched using query beacon(...) leader's name is returned as null, because of which Anonymous is getting displayed. You'll have to make these changes in the backend.

Ok, would create an issue at the backend repo for this.

Aadeesh11 avatar Dec 29 '21 20:12 Aadeesh11