OMEMO: aes_encrypt() got an unexpected keyword argument 'append_tag'
With the latest Git versions, I ran into a scenario where I cannot send OMEMO messages to a private MUC anymore. The error on the console is:
02/13/19 15:50:13 (W) gajim.plugin_system Error executing <bound method OmemoPlugin._gc_encrypt_message of <omemo.plugin.OmemoPlugin object at 0x10b936320>> Traceback (most recent call last): File "/Users/user/src/gajim/gajim/plugins/pluginmanager.py", line 366, in _execute_all_handlers_of_gui_extension_point handlers(*args) File "/Users/user/.local/share/gajim/plugins/omemo/plugin.py", line 191, in _gc_encrypt_message app.connections[conn.name].get_module('OMEMO').gc_encrypt_message(conn, obj, callback) File "/Users/user/.local/share/gajim/plugins/omemo/modules/omemo.py", line 358, in gc_encrypt_message self.own_jid, to_jid, event.message) File "/Users/user/.local/share/gajim/plugins/omemo/backend/state.py", line 264, in create_gc_msg result = aes_encrypt(plaintext, append_tag=True) TypeError: aes_encrypt() got an unexpected keyword argument 'append_tag'
It seems fairly obvious that this was an oversight during some code refactoring yesterday.