Yesterday, @favcau suggested we should log mentions and show the users on the activity feed. Even though I have that in my mind for a while, Mention*is not actually an operation like posting comments, voting etc. in the blockchain, so it will be different to implement.
Adding the mentions support
After a quick workaround, I have implemented a virtual operation in the steemrocks codebase.
I have used this regex pattern to catch usernames:
If anyone has a better pattern to catch usernames, I would be pleased to hear it.
Testing
- Posted a comment to @omersurer
- Saw it on both my profile and omersurer's profile.
Let me know if you have any issues with the mentions.
Note: steemrocks has a node replay on progress. Database crashed today due to huge activity size. It will be recovered soon.