esession disabled, but still established
Bug description
I've running multiple clients which supports mod_mam to have my chat-logs at home, work and on mobile. I've found out that the automatic esession-negation is contra-productive for this, so I disabled enable_esessions and autonegtiate_esessions on my work client (Ubuntu 14,04 LTS, Gajim 0.16.5) and on my home client (Windows 10, Gajim 0.16.5). The problem: A friend with Gajim now wrote me a message and it was still esession-encrypted, even after disabling it on my side. Also there is of course rubish in my MAM-Logs
Steps to reproduce
- Have two gajim clients
- One of them should disable esession
- They should chat a little bit
- Look into the server chat logs / client chat logs
Software versions
OS version: Ubuntu 14.04, Windows 10, Android 5.1.1
GTK version: 3.10.8-0ubuntu1.6 / 2.24.23-0ubuntu1.3
PyGTK version: Not sure if right: python-gtk2 2.24.0-3ubuntu3