cleanup_chat_history regularly, not just on shutdown
the cleanup_chat_history
method is only called on shutdown (in shutdown_core
). The cleanup operates as I expect, but the problem is that the advertised "limit" (set in per-account settings) is exceeded indefinitely while Gajim is running.
Please run cleanup_chat_history()
regularly, such as daily, while Gajim is still running.