/A learner/
I'd like to say that I prefer using the perfect participle instead of the gerund in such cases.
The reasons for
1. The perfect participle is ideal for indicating a complete action in the past. The second action took its place immediately after the first one was finished (The past perfect tense doesn't match).
2. The gerund doesn't refer to the past by itself. Using the gerund in the first clause the listener must wait to the end of the second clause to realise that the both actions took their place in the past.
I usually use the present participle instead of the present continuous tense in sentences similar to these ones below
Looking at the mirror I saw an eagle.
Watching a western, I feel good.
The first action was either taking place when the second event happened or the two actions are going in parallel.
My proposal is
Having attended the meeting he returned (to) home.
In my opinion the after is redundant as well in the sentence.