This issue can be resolved by disabling the notification for the user when they answer their own question. To do this, you can add the following code to the DiscussionController:
The notify() method takes a second argument which is a boolean value. By setting this to false, the notification will not be sent to the user who created the discussion.
there is a bug (well not a bug just a missing functionality..) in the number of views as well, whenever i refresh the page the count of views increments...
@soufyaneyassin Yes, if you are not the creator of the answer, one visit will be added with each refresh.
Of course, this bug was fixed for a while, but it came back again!
I do not know the reason
This has been reported by several members before, myself included.
But @jeffreyway it still applies – a member’s interaction with their own questions (views, replies, mentions, best answers) should not count in aggregation or trigger notifications.