That the instant you sneeze on that party wall, your neighbours roof will collapse too.What would be the concern for the scenario in your diagram?
Possibly?Would it be better to rest the purlin on a metal bracket or plate which is bolted to the brickwork?
If the scenario I have illustrated is the case, then it would make more sense to fit a longer repair piece of timber that catches both yours and the neighbours purlin mebbe? I am only assuming that it is a half brick thick wall. I may be wrong.