Hm. So there's no easy way to solve it.<br><br>I can't find a reliable way to send a message before a protocol goes offline in miranda.<br><br>Does re-initiating a session give away any more information to an attacker, than simply listening to encrypted messages passing by? 
<br><br>I do think forgetting session keys and moving to a non-encypted state is more elegant, and is much better than a design where (occasional) error messages are inevitable.<br>