Project Information
- Repository: https://github.com/busyorg/busy/
- Project Name: Busy
- Publisher: Busy.org team
- Related Github issue: https://github.com/busyorg/busy/issues/1893
Expected behavior
When I mute/ignore an account on Steemit, I expect the activity page (at Busy.org) to show I have muted them. At least, it shouldn't show anything. Busy doesn't implement any mute/ignore functionality, so not seeing this type of activity is okay.
Actual behavior
User Activity pages show that I have followed the person I have muted.
Current implementation decides the action based on the what
property of follow custom_json operation.
I believe this part of the code causes that problem:
const followAction = _.isEmpty(customActionDetails.what) ? 'unfollowed' : 'followed';
This works well for follow and unfollow operations. However, Steemit's ignore operation has the same custom JSON id (follow) so customActionDetails.what
set as [ignore, ]
which breaks the above logic.
Example transaction
Representation on my account's activity page
How to reproduce
Mute someone in the Steemit and check your activity page at Busy. You will see activity page states that you have followed that person.
- Browser/App version: Chrome Version 66.0.3359.181 (Official Build) (64-bit), Latest Stable Busy release
- Operating system: Osx sierra