Mercurial > libervia-backend
comparison sat/core/constants.py @ 2752:1fa615faec8b
core (constants): added a constant for "encrypted"
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 04 Jan 2019 18:46:02 +0100 |
parents | a8ec00731ce7 |
children | 3480d4fdf83a |
comparison
equal
deleted
inserted
replaced
2751:286a32a187e7 | 2752:1fa615faec8b |
---|---|
119 MESS_TYPE_HEADLINE, | 119 MESS_TYPE_HEADLINE, |
120 MESS_TYPE_NORMAL, | 120 MESS_TYPE_NORMAL, |
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 = "info_type" | 124 MESS_EXTRA_INFO = u"info_type" |
125 | 125 EXTRA_INFO_DECR_ERR = u"DECRYPTION_ERROR" |
126 MESS_KEY_ENCRYPTION = "ENCRYPTION" | 126 |
127 # encryption is a key for plugins | |
128 MESS_KEY_ENCRYPTION = u"ENCRYPTION" | |
129 # encrypted is a key for frontends | |
130 MESS_KEY_ENCRYPTED = u"encrypted" | |
131 MESS_KEY_TRUSTED = u"trusted" | |
127 | 132 |
128 ## Chat ## | 133 ## Chat ## |
129 CHAT_ONE2ONE = "one2one" | 134 CHAT_ONE2ONE = "one2one" |
130 CHAT_GROUP = "group" | 135 CHAT_GROUP = "group" |
131 | 136 |