Here's the M-C part, interesting are only the changes in nsMsgUtils.cpp where I put the derived class. Obviously, due to the issues mentioned in the previous comment, the whole thing doesn't compile.
Bug 1543219 Comment 23 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Here's the C-C part, interesting are only the changes in nsMsgUtils.cpp where I put the derived class. Obviously, due to the issues mentioned in the previous comment, the whole thing doesn't compile.