Logging not enabled for GPG-encrypted conversations
When toggling GPG encryption, logging works; but when a conversation is started with GPG encryption already enabled, no logging is done.
The problem is that the toggle code uses a per-account setting, but when a chat is started the now non-existent global setting is used.
I copied code between the two locations, and is seems to work, but I don't know what the differences between the two sections of code should actually be.