"Mute" operation of steemit shown as "Follow" on activity page at Busy.org
utopian-io·@emrebeyler·
0.000 HBD"Mute" operation of steemit shown as "Follow" on activity page at Busy.org
#### 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](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](https://github.com/busyorg/busy/blob/1f254bbfa911b8542093aacee7be5d60c21d1008/src/client/activity/CustomJSONMessage.js#L14) 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](https://steemd.com/tx/01131e69ab495834369e8b415c63ca3b527275d4) <img width="1069" alt="screen shot 2018-05-23 at 3 15 22 pm" src="https://user-images.githubusercontent.com/72460/40423779-3e08d3a6-5e9c-11e8-9f26-700df41f30e9.png"> ##### [Representation on my account's activity page](https://busy.org/@emrebeyler) <img width="521" alt="screen shot 2018-05-23 at 3 15 43 pm" src="https://user-images.githubusercontent.com/72460/40423836-64b159f6-5e9c-11e8-987d-ce55cae7b5b9.png"> #### 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 #### GitHub Account https://github.com/emre
👍 emrebeyler, bushman420, uykusuz, swaze, steemitstats, evilest-fiend, reazuliqbal, mhossain, linco, zcool, tolgahanuzun, boontjie, intelligencer, jumbot, hayirhah, ucmuharfli, gulumserunver, gcamkerten, cashthekush, rainbowlord, muratkbesiroglu, kemalyokus, firster78, canku, alisari, junostar, anyuta-rai, berkerpeksag, peri, acun, parakazan, fotobot, agememnon, bobbylee, varolleng, hahajin, teamhumble, buzzbeergeek, oendertuerk, dadview, adventureevryday, steemitcitizen, simplifylife, kriptonoob, omersurer, teaminfo, lastozgur, firatozbek, bobdos, trupvote, ornitorenk, marcopasha, ogergami, sertes, ethemkibar, tinowhale, akislam, siriusgaia, toninux, smafey, jacobkaled, maaz23, rightscomet, nudgent, enjoyy, iptrucs, thinkermyles, tinoschloegl, lukecreed, fromhell2sky, kaylog, evansbankx, oldtown, carment, andreas-winkler, technotroll, rechellomataro, kryptorero, gydronium, hemo, ewq, isnochys, r351574nc3, salty-mcgriddles, exifr, exifr0, ruel.cedeno, leticiapereira, ahmetmertugrul, tipitip, ahmeterbay, kagantrky, googletr, senseofhumor, decebal2dac, nuray, jrawsthorne, faithvarron, tdre, uzerebru, sulwati, gokhan83kurt, hyroniz, kiddarko, whiterabb1t, uzercanan, oyundelisi, davidding, craigahamilton, gemplaymaker, muhittinabi, tentalavera, iwanderela, laura97, a-cmsidl, zoltarian, trollshunter, privacybydesign, nichoros, camillesteemer, a-alphasteem, planet-power, dylanhobalart, make-a-whale, misalen, feronio, steemittopfan, utopian-io, astipmonkey, aloader, ilikesteemit, a-steemdefleague, azobifly, besttopsteemer, neutralizer, randohealer, busy.pay, mybestnews,