thing is messenger discovery is able to do it because of it being a proxy based program i can intercept data strings
a normal msg in protocol would be like this.
code:
MSG **Email*** ***FriendlyName****
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-MMS-IM-Format: FN=Microsoft%20Sans%20Serif; EF=; CO=0; CS=0; PF=22
so basicly, it copies the data string that you last send, and sends a new one. all you realy need to do is change the header, which is above, with your contacts email, friendlyname and font type..
The problem is, that patchou's plugin api, does not allow any connection to the datastream..
the only way i can think of doing it would be,
- to hack the messenger conversation, and let your program add-its self to the conversation, but invisibly (dont ask me, tb does it with stuffplug ng)
- some advanced packet sniffing
hope thats some help