Hi,
1 - in a multi convo, assuming it works, you won't get the sender's mail, only get the email of the first user in the conversation where the sender was...
Not really, the way I was doing I was getting [lindex $varlist 0] which is the email of the sender, but it's only available in the new protocol, in the old protocol this var is undefined, so I fixed this to a more robust solution.
2 - looking at the code it seems you hooked the ::amsn::AcceptFT which is the proc for the old file transfer protocol (compatible with eindows messenger only) you should look at ::MSN6FT::AcceptFT (I think) instead...
Not really again, ::amsn::AcceptFT is the proc from gui.tcl it's not ::MSN::AcceptFT os ::MSN6FT::AcceptFT from protocol.tcl, so wrapping ::amsn::AcceptFT is better because it will call ::MSN::AcceptFT or ::MSN6FT::AcceptFT accordingly.
3 - If you also hook the ::MSN6FT::AcceptFT, you'll just need to use the $dest variable which will contain the name of the sender...
As I said in (1), I am now using [lindex $varlist 0] which is the same as $dest in ::MSN6FT::AcceptFT, and if it's not defined (in the case of the old protocol being used) I will use ::MSN::usersInChat, so it will work for both cases.
4 - The DeInit proc doesn't take any argument.. that's why it fails.. you can use the plugins_log window (Alt-P) for info.. but it seems if it crashes it won't tell.. I'll update that in CVS so next time you'd be able to see why the Deinit proc isn't called...
Thanks, I really missed that... Thanks very much, now the unloading is ok.
5 - When the plugin is finished and tested, you can send it to the team, I don't remember if we have only a tracker for this, or we have a mailing list for this, or if it was in the 'Patches' tracker that it should be sent.. in any case, you can look at these destinations.. I can also forward it myself, just give me a valid link when the plugin is ready to be in a 1.0 stable release...
I think that now it's stable enough. It's available in this link
http://qubit.ic.unicamp.br/~nilton/files/organize_received-0.3.zip. If you can, please, send it to the team so it can go on the webpage.
Thanks,
-- Nilton