Mercurial > libervia-backend
comparison 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 |
comparison
equal
deleted
inserted
replaced
2858:31a5038cdf79 | 2859:4e875d9eea48 |
---|---|
121 ) | 121 ) |
122 MESS_TYPE_ALL = MESS_TYPE_STANDARD + (MESS_TYPE_INFO, MESS_TYPE_AUTO) | 122 MESS_TYPE_ALL = MESS_TYPE_STANDARD + (MESS_TYPE_INFO, MESS_TYPE_AUTO) |
123 | 123 |
124 MESS_EXTRA_INFO = u"info_type" | 124 MESS_EXTRA_INFO = u"info_type" |
125 EXTRA_INFO_DECR_ERR = u"DECRYPTION_ERROR" | 125 EXTRA_INFO_DECR_ERR = u"DECRYPTION_ERROR" |
126 EXTRA_INFO_ENCR_ERR = u"ENCRYPTION_ERROR" | |
126 | 127 |
127 # encryption is a key for plugins | 128 # encryption is a key for plugins |
128 MESS_KEY_ENCRYPTION = u"ENCRYPTION" | 129 MESS_KEY_ENCRYPTION = u"ENCRYPTION" |
129 # encrypted is a key for frontends | 130 # encrypted is a key for frontends |
130 MESS_KEY_ENCRYPTED = u"encrypted" | 131 MESS_KEY_ENCRYPTED = u"encrypted" |