[Network] Block user response parameters values are switched

When interacting with the Block functionality, in the response the API returns there are 2 parameters that indicate whether we have blocked the user or they have blocked us.

In the case of the block being initiated by us, the "isBlockedByCurrent" user returns true indicating that we are blocked by the user rather than the other way around.

It's likely the values defined in the back end have their names switched.

Note: I don't believe it's appropriate to return this information and show who is blocked and who is blocking us as this can be sensitive topic and can lead to potential harassment between users.

https://gyazo.com/81d2ab4d96d7618f449b3935db6a71b7

P.S. Apologies for using you for testing purposes and causing potential notification spam πŸ˜…

Please authenticate to join the conversation.

Upvoters
Status

Closed

Board

Bug Reports

Date

Almost 2 years ago

Author

Aiyumei Resident

Subscribe to post

Get notified by email when there are changes.