core: moved CHAT_* constants from frontends to core constants + uses constants for MESS_TYPE_* in sendMessage

This commit is contained in:
Goffi 2018-01-03 00:13:48 +01:00
commit a9fb2e568e

View file

@ -53,8 +53,6 @@ class Const(constants.Const):
CONTACT_DATA_FORBIDDEN = {CONTACT_GROUPS, CONTACT_RESOURCES, CONTACT_MAIN_RESOURCE, CONTACT_SELECTED, CONTACT_PROFILE} # set of forbidden names for contact data
# Chats
CHAT_ONE2ONE = 'one2one'
CHAT_GROUP = 'group'
CHAT_STATE_ICON = {
"": u" ",
"active": u'✔',