Thanks for the contribution, it's indeed an important feature that we forgot to add...
I'll commit your patch, lePhilousophe converted your diff files into a 'standard' diff, otherwise, I couldn't have patched the code.. next time, it would be better (and easier) to just type 'svn diff' to get a very standard patch file.
I made slight modifications, first, you disabled the 'cancel' button in the protocol part AND the gui part, it was only needed in one part, so I removed it from the protocol part.
secondly, the callback was between quotes, it's better to put it between [list ] (avoid any bugs if there's a space in one of the variables). I guess you just copied the syntax from elsewhere in the code.. that proves that the old code was already crap :p
anyways, thanks a lot!!!!
oh and about the official client canceling the cam right away, it was reported once in the ML, but we never heard news about it until you right now, so I tried to reproduce, couldn't... until... well, here's how to reproduce :
send a cam request from amsn. on wlm, dont' accept nor decline it, chat for a while, then from amsn send a second cam request... now wlm will cancel it right away... that's because wlm can only handle one request at a time, so when you're sending two (the one that was never accepted/rejected + the new one), it just cancels the last one, in WLM, we get the message :
Your request to view your contact's webcam was declined because <NICKNAME> sent you an invitation to view his or her webcam at the same time. Please cancel any pending webcam invitations and ask your contact to resend the invitation
can you confirm that this is how it happened ?
anyways, your patch works great so thanks a lot for the contribution!