diff sat/core/constants.py @ 2859:4e875d9eea48

plugin XEP-0384: give feedback to client when encryption failed
author Goffi <goffi@goffi.org>
date Wed, 20 Mar 2019 09:08:47 +0100
parents 003b8b4b56a7
children 9241f9d1f9e5
line wrap: on
line diff
--- a/sat/core/constants.py	Wed Mar 20 09:08:47 2019 +0100
+++ b/sat/core/constants.py	Wed Mar 20 09:08:47 2019 +0100
@@ -123,6 +123,7 @@
 
     MESS_EXTRA_INFO = u"info_type"
     EXTRA_INFO_DECR_ERR = u"DECRYPTION_ERROR"
+    EXTRA_INFO_ENCR_ERR = u"ENCRYPTION_ERROR"
 
     # encryption is a key for plugins
     MESS_KEY_ENCRYPTION = u"ENCRYPTION"