Reproduced on 18.9.0 and master. Clicking "show activity" in the "Wikis" section of the user profile displays each event twice:
The fix fires xwiki:dom:updated on the injected content, so the notifications macro initializes it like on page load, and drops the second load.
Pull request: https://github.com/xwiki/xwiki-platform/pull/7542 (before/after screenshots there).