diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py index 2354cdcc9..8c03b1dcc 100644 --- a/src/common/connection_handlers.py +++ b/src/common/connection_handlers.py @@ -968,7 +968,7 @@ class ConnectionHandlersBase: if sess.enable_encryption: sess.terminate_e2e() - def decrypt_thread(encmsg, keyID, obj): + def decrypt_thread(self, encmsg, keyID, obj): decmsg = self.gpg.decrypt(encmsg, keyID) decmsg = self.connection.Dispatcher.replace_non_character(decmsg) # \x00 chars are not allowed in C (so in GTK)