Mercurial > libervia-backend
comparison sat/core/constants.py @ 3173:343b8076e967
core (xmpp): new message key to handle attachments
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 18 Feb 2020 18:17:14 +0100 |
parents | c3e8ddf3a071 |
children | d92a144f3589 |
comparison
equal
deleted
inserted
replaced
3172:dcebc585c29f | 3173:343b8076e967 |
---|---|
130 # encryption is a key for plugins | 130 # encryption is a key for plugins |
131 MESS_KEY_ENCRYPTION = "ENCRYPTION" | 131 MESS_KEY_ENCRYPTION = "ENCRYPTION" |
132 # encrypted is a key for frontends | 132 # encrypted is a key for frontends |
133 MESS_KEY_ENCRYPTED = "encrypted" | 133 MESS_KEY_ENCRYPTED = "encrypted" |
134 MESS_KEY_TRUSTED = "trusted" | 134 MESS_KEY_TRUSTED = "trusted" |
135 | |
136 MESS_KEY_ATTACHMENTS = "attachments" | |
137 MESS_KEY_MEDIA_TYPE = "media_type" | |
135 | 138 |
136 # File encryption algorithms | 139 # File encryption algorithms |
137 ENC_AES_GCM = "AES-GCM" | 140 ENC_AES_GCM = "AES-GCM" |
138 | 141 |
139 ## Chat ## | 142 ## Chat ## |