diff libervia/backend/plugins/plugin_xep_0334.py @ 4163:3b3cd9453d9b

plugin XEP-0308: implement Last Message Correction
author Goffi <goffi@goffi.org>
date Tue, 28 Nov 2023 17:38:31 +0100
parents 4b842c1fb686
children 0d7bb4df2343
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_xep_0334.py	Tue Nov 28 17:37:02 2023 +0100
+++ b/libervia/backend/plugins/plugin_xep_0334.py	Tue Nov 28 17:38:31 2023 +0100
@@ -95,7 +95,7 @@
             if not list(message_elt.elements(NS_HINTS, hint)):
                 message_elt.addElement((NS_HINTS, hint))
             else:
-                log.debug('Not adding {hint!r} hint: it is already present in <message>')
+                log.debug(f'Not adding {hint!r} hint: it is already present in <message>')
 
     def _send_post_xml_treatment(self, mess_data):
         if "hints" in mess_data: