Well the argument sContactName in ReceiveNotify indicates the sender of the Notify...
But it is a "parsed" name, which means that
all format tags in the contact's name have been parsed...
If I want to know if the notify is sent by me, I have to use Messenger.MyFriendlyName to do a string compare with sContactName...but MyFriendlyName gives a contact name with
unparsed format tags...
And therefore I can't compare them two, because
one of them(sContactName) doesn't have format tags while the other one(MyFriendlyName) does
I have tried to get rid of the format tags myself, but I am quite stuffed with Ctrl+K one...so I don't think it's a practicable way.
Same happens with IMessengerContact.FriendlyName of course...
I suggest Patchou make sContactName's value be "raw" contact name, with unparsed format tags...
Do you get me?